Creates a box geometry with the specified width, height, length, and chamfer radius.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The width of the box along the x-axis of its local coordinate space.
The height of the box along the y-axis of its local coordinate space.
The length of the box along the z-axis of its local coordinate space.
The radius of curvature for the edges and corners of the box.
A new box geometry.
The box is centered in its local coordinate system. For example, if you create a box whose width, height and length are all
10, it extends from
5 along in each of the x-, y-, and z-axes.