For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/IVector2PropertyItem.md.

Interface: IVector2PropertyItem experimental

Beta

A property item which supports Vector2 properties

Extends

Properties

enable

enable: boolean

Beta

Remarks

If the item is enabled in the UI.

Inherited from

IPropertyItemBase.enable


id

readonly id: string

Beta

Remarks

Unique ID for the property item.

Inherited from

IPropertyItemBase.id


paneId

readonly paneId: string

Beta

Remarks

The parent pane id.

Inherited from

IPropertyItemBase.paneId


typeName

readonly typeName: PropertyItemType

Beta

Remarks

The type name of the target property.

Inherited from

IPropertyItemBase.typeName


value

readonly value: Vector2

Beta

Remarks

Current value of the property item.


visible

visible: boolean

Beta

Remarks

If the item should be visible in the UI.

Inherited from

IPropertyItemBase.visible

Methods

setTitle()

setTitle(title): void

Beta

Parameters

title

LocalizedString | undefined

New button title.

Returns

void

Remarks

Updates title of the button.


setTooltip()

setTooltip(tooltip): void

Beta

Parameters

tooltip

BasicTooltipContent | undefined

New button tooltip.

Returns

void

Remarks

Updates tooltip description of the button.


updateAxisLimits()

updateAxisLimits(limits): void

Beta

Parameters

limits
max?

any

min?

any

Returns

void

Remarks

Updates Vector2 limits and clamps the current value.