webani - v1.0.0
    Preparing search index...

    Type Alias LineComponentOptions

    Options for creating a line component.

    type LineComponentOptions = {
        angle?: number;
        length: number;
        material?: WebaniMaterialOptions;
        position: Vector3;
        thickness?: number;
    }
    Index

    Properties

    angle?: number

    The rotation angle of the line in degrees. Default is 0.

    length: number

    The length of the line.

    Optional material to style the line.

    position: Vector3

    The position of the line in 3D space.

    thickness?: number

    The thickness of the line. Default is 2.