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

Class: WidgetComponentRenderPrimitiveTypeCuboid experimental

component

Beta

Extends

Constructors

Constructor

new WidgetComponentRenderPrimitiveTypeCuboid(center, lengthX, lengthY, lengthZ, color, rotation?, alpha?): WidgetComponentRenderPrimitiveTypeCuboid

Beta

Parameters

center

Vector3

lengthX

number

lengthY

number

lengthZ

number

color

RGBA

rotation?

any

alpha?

number

Returns

WidgetComponentRenderPrimitiveTypeCuboid

Overrides

WidgetComponentRenderPrimitiveTypeBase.constructor

Properties

alpha?

optional alpha?: number

World Mutation Beta

Remarks


center

center: Vector3

World Mutation Beta

Remarks


color

color: RGBA

World Mutation Beta

Remarks


lengthX

lengthX: number

World Mutation Beta

Remarks


lengthY

lengthY: number

World Mutation Beta

Remarks


lengthZ

lengthZ: number

World Mutation Beta

Remarks


primitiveType

readonly primitiveType: PrimitiveType

Beta

Inherited from

WidgetComponentRenderPrimitiveTypeBase.primitiveType


renderPriority

renderPriority: number

World Mutation Beta

Remarks

Inherited from

WidgetComponentRenderPrimitiveTypeBase.renderPriority


rotation?

optional rotation?: any

World Mutation Beta

Remarks

同领域相关