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/classes/WidgetComponentGizmo.md.

Class: WidgetComponentGizmo experimental

component

Beta

Extends

Properties

activated

activated: boolean

Beta


componentType

readonly componentType: WidgetComponentType

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.componentType


enabledAxes

enabledAxes: Axis

World Mutation Beta

Remarks


location

readonly location: Vector3

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.location


lockToSurface

lockToSurface: boolean

World Mutation Beta

Remarks

Inherited from

WidgetComponentBase.lockToSurface


name

readonly name: string

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.name


normalizedOffsetOverride?

optional normalizedOffsetOverride?: any

World Mutation Beta

Remarks


offset

offset: Vector3

World Mutation Beta

Remarks

Inherited from

WidgetComponentBase.offset


scaleMode

scaleMode: WidgetGizmoScaleMode

World Mutation Beta

Remarks


screenScale

screenScale: number

World Mutation Beta

Remarks


valid

readonly valid: boolean

Beta

Inherited from

WidgetComponentBase.valid


visible

visible: boolean

Beta

Inherited from

WidgetComponentBase.visible


widget

readonly widget: Widget

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.widget


worldScale

worldScale: number

World Mutation Beta

Remarks

Methods

delete()

delete(): void

World Mutation Beta

Returns

void

Remarks

Throws

This function can throw errors.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.delete


setStateChangeEvent()

setStateChangeEvent(eventFunction?): void

World Mutation Beta

Parameters

eventFunction?

(arg0) => void

Returns

void

Remarks

Throws

This function can throw errors.

InvalidWidgetComponentError

同领域相关