Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: Shape3D
Wraps JavaFX Box, an axis aligned 3D box primitive defined by width (X extent), height (Y extent), and depth (Z extent). Centered at the local origin. Inherits material, cullFace, and drawMode from Shape3D.
Box (double Width = 2.0, double Height = 2.0, double Depth = 2.0)
Creates a new Box with the given width, height, and depth.
Width is a double with the X extent.Height is a double with the Y extent.Depth is a double with the Z extent.setWidth (double W)
Sets the width (X extent).
W is a double with the new width.this objectsetHeight (double H)
Sets the height (Y extent).
H is a double with the new height.this objectsetDepth (double D)
Sets the depth (Z extent).
D is a double with the new depth.this objectgetWidth ()
Returns the width.
A double with the width.getHeight ()
Returns the height.
A double with the height.getDepth ()
Returns the depth.
A double with the depth.widthProperty ()
Returns the DoubleProperty backing the width (X extent).
An AJO wrapping javafx.beans.property.DoubleProperty.heightProperty ()
Returns the DoubleProperty backing the height (Y extent).
An AJO wrapping javafx.beans.property.DoubleProperty.depthProperty ()
Returns the DoubleProperty backing the depth (Z extent).
An AJO wrapping javafx.beans.property.DoubleProperty.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.