webani - v1.0.0
    Preparing search index...

    Type Alias SquareComponentOptions

    Options for creating a square component.

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

    Properties

    length: number

    The length of the square's sides.

    Optional material to style the square.

    position: Vector3

    The position of the square in 3D space.