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

Class: WidgetComponentText experimental

component

Beta

Extends

Properties

color

color: RGBA

World Mutation Beta

Remarks


componentType

readonly componentType: WidgetComponentType

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.componentType


label

label: string

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


offset

offset: Vector3

World Mutation Beta

Remarks

Inherited from

WidgetComponentBase.offset


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

Methods

delete()

delete(): void

World Mutation Beta

Returns

void

Remarks

Throws

This function can throw errors.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.delete

同领域相关