CompositePart
此内容尚不支持你的语言。
Defined in: sdk/src/render/compositeBatch.ts:83
One part, as the planner sees it: its draw state, its mesh and where it stands in the root’s space.
Properties
Section titled “Properties”center
Section titled “center”center: readonly [
number,number,number]
Defined in: sdk/src/render/compositeBatch.ts:92
Centre of its mesh’s bounds in the root’s space: the cell it is merged in.
entity
Section titled “entity”entity:
number
Defined in: sdk/src/render/compositeBatch.ts:84
key:
string
Defined in: sdk/src/render/compositeBatch.ts:86
Draw state plus vertex layout (staticBatchKey): parts that may share a draw.
local:
Mat4
Defined in: sdk/src/render/compositeBatch.ts:89
mesh:
number
Defined in: sdk/src/render/compositeBatch.ts:88
The mesh handle: parts that may share an instanced set share this AND the key.
vertices
Section titled “vertices”vertices:
number
Defined in: sdk/src/render/compositeBatch.ts:90