跳转到内容

CompositeBatchData

此内容尚不支持你的语言。

Defined in: sdk/src/render/compositeBatchPlugin.ts:41

The fields of the CompositeBatch component.

cellSize: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:45

Side of a merge chunk in the root’s own space; 0 lets the pass choose from the model’s size.


draws: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:51

Draws the model takes now: sets, merged chunks and the parts that still draw themselves.


drawsBefore: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:53

Draws the same parts took before: one per distinct mesh and draw state.


instanced: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:49

Of those, the parts drawn as instanced sets.


instanceMin: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:43

Parts of one mesh at or past which they are drawn as one instanced set instead of merged.


moving: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:55

Parts that kept moving inside the root and were let go to draw themselves.


parts: number

Defined in: sdk/src/render/compositeBatchPlugin.ts:47

Meshes under the root the pass draws (instanced or merged). Written by the pass.