Skip to main content

sphere()

Creates a full sphere with the given radius.

Returns: Transformable

Signatures

sphere(radius: NumberParam): Transformable

Creates a full sphere with the given radius.

ParameterTypeDescription
radiusNumberParamThe sphere radius

sphere(radius: NumberParam, angle: NumberParam): Transformable

Creates a partial sphere with the given radius and sweep angle.

ParameterTypeDescription
radiusNumberParamThe sphere radius
angleNumberParamThe sweep angle in degrees