webani - v1.0.0
    Preparing search index...

    Options for creating a rectangle component.

    type RectangleComponentOptions = {
        length_x: number;
        length_y: number;
        material?: WebaniMaterialOptions;
        position: Vector3;
    }
    Index

    Properties

    length_x: number

    The length of the rectangle along the X-axis.

    length_y: number

    The length of the rectangle along the Y-axis.

    Optional material to style the rectangle.

    position: Vector3

    The position of the rectangle in 3D space.