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/WidgetComponentBase.md.

Class: WidgetComponentBase experimental

component

Beta

Extended by

Properties

componentType

readonly componentType: WidgetComponentType

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError


location

readonly location: Vector3

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError


lockToSurface

lockToSurface: boolean

World Mutation Beta

Remarks


name

readonly name: string

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError


offset

offset: Vector3

World Mutation Beta

Remarks


valid

readonly valid: boolean

Beta


visible

visible: boolean

Beta


widget

readonly widget: Widget

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Methods

delete()

delete(): void

World Mutation Beta

Returns

void

Remarks

Throws

This function can throw errors.

InvalidWidgetComponentError

同领域相关