GetInterpolatedProbe(Vector3, Renderer, out SphericalHarmonicsL2)
Returns an interpolated probe for the given position for both real-time and baked light probes combined.
읽는 시간 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.