planStaticBatches
此内容尚不支持你的语言。
planStaticBatches(
candidates,limits?):StaticBatchPlan
Defined in: render/staticBatch.ts:266
Groups candidates by draw state, confines each group to world cells, and splits a cell at the vertex limit. Order inside a batch follows entity id, so the same scene always merges the same way.
Parameters
Section titled “Parameters”candidates
Section titled “candidates”readonly StaticBatchCandidate[]
limits?
Section titled “limits?”StaticBatchLimits = STATIC_BATCH_DEFAULTS
Returns
Section titled “Returns”StaticBatchPlan