跳转到内容

StaticBatchData

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

Defined in: render/staticBatchPlugin.ts:62

The fields of the StaticBatch component.

batched: number

Defined in: render/staticBatchPlugin.ts:68

How many meshes were drawn together with this one, itself included; 0 unless merged.


group: string

Defined in: render/staticBatchPlugin.ts:64

Meshes batch only with others of the same group, so two rooms can be kept apart.


state: number

Defined in: render/staticBatchPlugin.ts:66

What the last pass did with this mesh (a StaticBatchState); written by the pass, 0 until it has run.