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

Class: WidgetComponentSpline experimental

component

Beta

Extends

Properties

componentType

readonly componentType: WidgetComponentType

Beta

Throws

This property can throw when used.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.componentType


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


splineType

splineType: SplineType

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

Methods

delete()

delete(): void

World Mutation Beta

Returns

void

Remarks

Throws

This function can throw errors.

InvalidWidgetComponentError

Inherited from

WidgetComponentBase.delete


getControlPoints()

getControlPoints(): Widget[]

World Mutation Beta

Returns

Widget[]

Remarks

Throws

This function can throw errors.

Error

InvalidWidgetComponentError

InvalidWidgetError


getInterpolatedPoints()

getInterpolatedPoints(maxPointsPerControlSegment?): Vector3[]

World Mutation Beta

Parameters

maxPointsPerControlSegment?

number

Returns

Vector3[]

Remarks

Throws

This function can throw errors.


setControlPoints()

setControlPoints(widgetList): void

World Mutation Beta

Parameters

widgetList

Widget[]

Returns

void

Remarks

Throws

This function can throw errors.

InvalidWidgetComponentError

InvalidWidgetError

同领域相关