init(size:edgeRadius:)
Creates a rounded box shape with the given size and edge radius.
Declaration
init(size: SIMD3<Float>, edgeRadius: Float)Parameters
- size:
The size of the box along each axis.
- edgeRadius:
The radius of the rounded edges.
Creates a rounded box shape with the given size and edge radius.
init(size: SIMD3<Float>, edgeRadius: Float)The size of the box along each axis.
The radius of the rounded edges.