WidgetComponentRenderPrimitiveTypeDisc
¶
文档版本:1.21.60.21
WidgetComponentRenderPrimitiveTypeDisc
类,扩展自WidgetComponentRenderPrimitiveTypeBase
。script_api.minecraft/server-editor-bindings.widgetcomponentrenderprimitivetypedisc.description
属性¶
center
color
radius
radius
:float
- script_api.minecraft/server-editor-bindings.widgetcomponentrenderprimitivetypedisc.radius.description
方法¶
constructor
script_api.minecraft/server-editor-bindings.widgetcomponentrenderprimitivetypedisc.constructor.description
new constructor(center: Vector3, radius: float, color: RGBA): WidgetComponentRenderPrimitiveTypeDisc
center
:Vector3
- script_api.minecraft/server-editor-bindings.widgetcomponentrenderprimitivetypedisc.constructor.center.description
radius
:float
- script_api.minecraft/server-editor-bindings.widgetcomponentrenderprimitivetypedisc.constructor.radius.description