[18:7] extends: Node
Wraps JavaFX Shape3D, the abstract base class for 3D shapes (Box, Sphere, Cylinder, MeshView). Holds the material, cullFace, and drawMode properties common to every 3D shape. Concrete subclasses provide their own constructors and geometry-specific setters. Shape3D extends Node, so 3D shapes inherit Node's translation, rotation, and visibility behavior from the existing Node base.
setMaterial (object MaterialObj)
Sets the material applied to the shape surface.
MaterialObj is a Material wrapper (typically a PhongMaterial).this objectgetMaterial ()
Returns the material currently applied to the shape.
A PhongMaterial wrapper holding the underlying material object.setCullFace (string Name)
Sets which faces of the shape are culled (not rendered).
Name is the CullFace enum name: "NONE", "FRONT", or "BACK".this objectsetDrawMode (string Name)
Sets the draw mode for the shape.
Name is the DrawMode enum name: "FILL" or "LINE".this objectmaterialProperty ()
Returns the ObjectProperty backing the material reference.
An AJO wrapping javafx.beans.property.ObjectPropertygetDrawMode ()
Returns the current draw mode of the shape.
An AJO wrapping javafx.scene.shape.DrawMode (FILL or LINE).drawModeProperty ()
Returns the ObjectProperty backing the draw mode value.
An AJO wrapping javafx.beans.property.ObjectPropertygetCullFace ()
Returns the current cull face setting of the shape.
An AJO wrapping javafx.scene.shape.CullFace (NONE, FRONT, or BACK).cullFaceProperty ()
Returns the ObjectProperty backing the cull face value.
An AJO wrapping javafx.beans.property.ObjectProperty