Script API - v1.21.120.21
    Preparing search index...

    Interface IVector2PropertyItem

    A property item which supports Vector2 properties

    interface IVector2PropertyItem {
        enable: boolean;
        id: string;
        paneId: string;
        typeName: PropertyItemType;
        value: Readonly<Vector2>;
        visible: boolean;
        setTitle(title: LocalizedString): void;
        setTooltip(tooltip: BasicTooltipContent): void;
        updateAxisLimits(
            limits: { max?: Partial<Vector2>; min?: Partial<Vector2> },
        ): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    enable: boolean

    If the item is enabled in the UI.

    id: string

    Unique ID for the property item.

    paneId: string

    The parent pane id.

    The type name of the target property.

    value: Readonly<Vector2>

    Current value of the property item.

    visible: boolean

    If the item should be visible in the UI.

    Methods

    • Parameters

      Returns void

      Updates Vector2 limits and clamps the current value.