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

    Interface IVector2PropertyItemOptions

    Optional properties for Vector2 property item

    interface IVector2PropertyItemOptions {
        enable?: boolean;
        hiddenLabel?: boolean;
        isInteger?: boolean;
        max?: Partial<Vector2>;
        min?: Partial<Vector2>;
        onChange?: (newValue: Vector2, oldValue: Vector2) => void;
        title?: LocalizedString;
        tooltip?: BasicTooltipContent;
        visible?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    enable?: boolean

    Initial enabled state of property item. If undefined, it will default to true.

    hiddenLabel?: boolean

    If true label text will be hidden. It will be visible by default.

    isInteger?: boolean

    If we should treat the Vector2 properties as integer values. By default is false.

    max?: Partial<Vector2>

    The min possible limits. If undefined, Number.MAX_SAFE_INTEGER will be used.

    min?: Partial<Vector2>

    The min possible limits. If undefined, Number.MIN_SAFE_INTEGER will be used.

    onChange?: (newValue: Vector2, oldValue: Vector2) => void

    This callback is called when UI control is changed.

    Localized title of the property item

    Tooltip description of the property item

    visible?: boolean

    Initial visibility state of property item. If undefined, it will default to true.