webani - v1.0.0
    Preparing search index...

    Type Alias CubeComponentOptions

    Options for creating a cube component.

    type CubeComponentOptions = {
        length: number;
        material?: WebaniMaterialOptions;
        position: Vector3;
    }
    Index

    Properties

    length: number

    Half the edge length of the cube (defines its scale).

    Optional material to style the cube's surface.

    position: Vector3

    The center position of the cube in 3D space.