Optional properties for Vector3 property item

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

Hierarchy (View Summary)

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.

max?: Partial<Vector3>

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

min?: Partial<Vector3>

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

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

This callback is called when UI control is changed.

Localized title of the property item

tooltip?: LocalizedString

Tooltip description of the property item

visible?: boolean

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