Basics
Guides
API Reference
Basics
Guides
API Reference
[17: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 (CullFace)
Sets which faces of the shape are culled (not rendered).
CullFace is an fxcullface value or CullFace name (a string): NONE, FRONT, or BACK; or a wrapper/AJO.this objectsetDrawMode (DrawMode)
Sets the draw mode for the shape.
DrawMode is an fxdrawmode value or DrawMode name (a string): FILL or LINE; or a wrapper/AJO.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
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.