Class MeshView

  • All Implemented Interfaces:
    Styleable, EventTarget

    public class MeshView
    extends Shape3D
    The MeshView class defines a surface with the specified 3D mesh data.
    Since:
    JavaFX 8.0
    • Constructor Detail

      • MeshView

        public MeshView()
        Creates a new instance of MeshView class.
      • MeshView

        public MeshView​(Mesh mesh)
        Creates a new instance of MeshView class with the specified Mesh surface.
        Parameters:
        mesh - the mesh surface
    • Method Detail

      • setMesh

        public final void setMesh​(Mesh value)
        Sets the value of the property mesh.
        Property description:
        Specifies the 3D mesh data of this MeshView.
        Default value:
        null
      • getMesh

        public final Mesh getMesh()
        Gets the value of the property mesh.
        Property description:
        Specifies the 3D mesh data of this MeshView.
        Default value:
        null