GetInterpolatedProbe(Vector3, Renderer, out SphericalHarmonicsL2)
Returns an interpolated probe for the given position for both real-time and baked light probes combined.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
GetInterpolatedProbe(Vector3, Renderer, SphericalHarmonicsL2)
public static void GetInterpolatedProbe(Vector3 position, Renderer renderer, out SphericalHarmonicsL2 probe)
Parameters
Remarks
Renderer is only needed to speed up the search for the current tetrahedron, as it caches the index of the tetrahedron it was in the last frame.