ドキュメント

Unity Engine

Unity Engine

UpdateCachedState()

Updates the culling system with the ReflectionProbe's current state. This ensures that Unity correctly culls the ReflectionProbe during rendering if you implement your own runtime reflection system.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void UpdateCachedState()

Remarks

By default, Unity culls ReflectionProbes automatically as part of the built-in Scriptable Runtime Reflection System. However, if you implement your own reflection system, you need to call this function in your implementation of ScriptableRuntimeReflectionSystem.TickRealtimeProbes. Call this method once per frame and before the rendering starts to ensure Unity correctly culls ReflectionProbes during rendering.