createSphere

@JvmStatic
fun createSphere(radius: Float): ShapeResource

Creates a sphere-shaped ShapeResource with the specified radius.

Return

A new ShapeResource representing the sphere.

Parameters

radius

The radius of the sphere in meters.