Engine API Reference - v2.11.0
    Preparing search index...

    Interface ShapeArgs

    interface ShapeArgs {
        axis?: string;
        defaultColor?: Color;
        disabled?: boolean;
        disabledColor?: Color;
        hidden?: boolean;
        hoverColor?: Color;
        layers?: number[];
        position?: Vec3;
        rotation?: Vec3;
        scale?: Vec3;
    }
    Index

    Properties

    axis?: string

    The axis of the shape (e.g., 'x', 'y', 'z').

    defaultColor?: Color

    The default color of the shape.

    disabled?: boolean

    Whether the shape is disabled.

    disabledColor?: Color

    The disabled color of the shape.

    hidden?: boolean

    Whether the shape is hidden.

    hoverColor?: Color

    The hover color of the shape.

    layers?: number[]

    The layers the shape belongs to.

    position?: Vec3

    The position of the shape.

    rotation?: Vec3

    The rotation of the shape.

    scale?: Vec3

    The scale of the shape.