rhodonite
    Preparing search index...

    Interface SphereDescriptor

    The argument descriptor for Sphere primitives

    interface SphereDescriptor {
        heightSegments?: number;
        inverseNormal?: boolean;
        material?: Material;
        physics?: PhysicsProperty;
        radius?: number;
        widthSegments?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    heightSegments?: number

    The number of segments that define the sphere's height (vertical divisions).

    10
    
    inverseNormal?: boolean

    Indicates whether to invert the normals of the sphere's surface.

    false
    
    material?: Material

    attach a rhodonite material to this plane(the default material is the classicUberMaterial

    physics?: PhysicsProperty

    Physics properties associated with the sphere, such as mass and collision settings.

    radius?: number

    The radius of the sphere.

    1
    
    widthSegments?: number

    The number of segments that define the sphere's width (horizontal divisions).

    10