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
  • Property Details

  • Constructor Details

    • 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 Details

    • setMesh

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

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

      public final ObjectProperty<Mesh> meshProperty()
      Specifies the 3D mesh data of this MeshView.
      Default value:
      null
      Returns:
      the mesh property
      See Also: