跳转至

WidgetComponentSpline

文档版本:1.21.60.21

WidgetComponentSpline类,扩展自WidgetComponentBase。script_api.minecraft/server-editor-bindings.widgetcomponentspline.description

属性

splineType
splineType: SplineType;

方法

getControlPoints

script_api.minecraft/server-editor-bindings.widgetcomponentspline.getcontrolpoints.description

getControlPoints(): Widget[]
getInterpolatedPoints

script_api.minecraft/server-editor-bindings.widgetcomponentspline.getinterpolatedpoints.description

getInterpolatedPoints(maxPointsPerControlSegment?: int32): Vector3[]
setControlPoints

script_api.minecraft/server-editor-bindings.widgetcomponentspline.setcontrolpoints.description

setControlPoints(widgetList: Widget[]): void