generateSphere(radius:)
Creates a sphere shape with the specified radius.
Declaration
@MainActor @preconcurrency static func generateSphere(radius: Float) -> ShapeResourceParameters
- radius:
The radius of the sphere in meters.
Return Value
The new sphere centered at the local origin.