webani - v1.0.0
    Preparing search index...

    Type Alias SphereComponentOptions

    Options for creating a sphere component.

    type SphereComponentOptions = {
        material?: WebaniMaterialOptions;
        position: Vector3;
        radius: number;
    }
    Index

    Properties

    Optional material to style the sphere.

    position: Vector3

    The position of the sphere in 3D space.

    radius: number

    The radius of the sphere.