文档

Unity Engine


Unity Engine


stageCount

Number of stages of the baking process.
阅读时间1 分钟最后更新于 1 个月前

Definition

int stageCount { get; }

Remarks

When ticking the ScriptableBakedReflectionSystem (see IScriptableBakedReflectionSystem.Tick, the current IScriptableBakedReflectionSystem is expected to bake data through stages.
Your own reflection system implementation may have a different number of stages, you should set the number here.
The BuiltinScriptableBakedReflectionSystem goes through 2 stages: BakeReflectionProbes, RenderRealtimeProbes.