AppleSCNBox - UBogun/Xojo-iosLib GitHub Wiki

Inherits from AppleSCNGeometry
Memory leak check: not yet done.
Status: completed

An SCNBox is a geometry subclass used for building dices and boxes. The edges and corners of a box may be square or rounded.

Please see the superclass for more properties and methods

Constructors

Constructor(Width as Double, Height As Double,Length As Double, ChamferRadius As Double): Creates a box geometry with the specified width, height, length, and chamfer radius.

Properties

ChamferRadius As Double: The radius of curvature for the edges and corners of the box. Animatable.

ChamferSegmentCount As Integer: The number of line segments used to create each rounded edge of the box. Animatable.

Height As Double: The extent of the box along its y-axis. Animatable.

HeightSegmentCount As Integer: The number of subdivisions in each face of the box along its y-axis. Animatable.

Length As Double: The extent of the box along its z-axis. Animatable.

LengthSegmentCount As Integer: The number of subdivisions in each face of the box along its z-axis. Animatable.

Width As Double: The extent of the box along its x-axis. Animatable.

WidthSegmentCount As Integer: The number of subdivisions in each face of the box along its x-axis. Animatable.