APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.scene.shape

public non-sealed Class MeshView

extends Shape3D
Class Inheritance
Imports
com.sun.javafx.geom.BaseBounds, .PickRay, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.scene.DirtyBits, .NodeHelper, com.sun.javafx.scene.input.PickResultChooser, com.sun.javafx.scene.shape.MeshHelper, .MeshViewHelper, com.sun.javafx.sg.prism.NGMeshView, .NGNode, javafx.beans.property.ObjectProperty, .SimpleObjectProperty, javafx.beans.value.ChangeListener, .WeakChangeListener, javafx.scene.Node

The MeshView class defines a surface with the specified 3D mesh data.
Since
JavaFX 8.0

Field Summary

Modifier and TypeField and Description
private ObjectProperty<Mesh>
mesh

Specifies the 3D mesh data of this MeshView.

Inherited from javafx.scene.shape.Shape3D:
keymanager

Constructor Summary

AccessConstructor and Description
public
MeshView()

Creates a new instance of MeshView class.

public
MeshView(Mesh
the mesh surface
mesh
)

Creates a new instance of MeshView class with the specified Mesh surface.

Method Summary

Modifier and TypeMethod and Description
private boolean
private BaseBounds
private boolean
private NGNode
private void
public final Mesh
public final ObjectProperty<Mesh>
public final void
setMesh(Mesh value)

Inherited from javafx.scene.shape.Shape3D:
cullFacePropertydrawModePropertygetCullFacegetDrawModegetMaterialmaterialPropertysetCullFacesetDrawModesetMaterial

Field Detail

meshback to summary
private ObjectProperty<Mesh> mesh

Specifies the 3D mesh data of this MeshView.

Default Value
null

Constructor Detail

MeshViewback to summary
public MeshView()

Creates a new instance of MeshView class.

MeshViewback to summary
public MeshView(Mesh mesh)

Creates a new instance of MeshView class with the specified Mesh surface.

Parameters
mesh:Mesh

the mesh surface

Method Detail

doComputeContainsback to summary
private boolean doComputeContains(double localX, double localY)

Hides javafx.scene.shape.Shape3D.doComputeContains.

doComputeGeomBoundsback to summary
private BaseBounds doComputeGeomBounds(BaseBounds bounds, BaseTransform tx)

Hides javafx.scene.shape.Shape3D.doComputeGeomBounds.

doComputeIntersectsback to summary
private boolean doComputeIntersects(PickRay pickRay, PickResultChooser pickResult)

Hides javafx.scene.Node.doComputeIntersects.

doCreatePeerback to summary
private NGNode doCreatePeer()
doUpdatePeerback to summary
private void doUpdatePeer()

Hides javafx.scene.shape.Shape3D.doUpdatePeer.

getMeshback to summary
public final Mesh getMesh()
meshPropertyback to summary
public final ObjectProperty<Mesh> meshProperty()
setMeshback to summary
public final void setMesh(Mesh value)