generateBox(size:)
Creates a box shape with the specified extent.
Declaration
@MainActor @preconcurrency static func generateBox(size: SIMD3<Float>) -> ShapeResourceParameters
- size:
The box extent in meters along the local axes.
Return Value
The new box centered at the local origin and aligned with the local axes.