Version: 2023.1
언어: 한국어

LightProbesQuery.CalculateInterpolatedLightAndOcclusionProbe

매뉴얼로 전환
public void CalculateInterpolatedLightAndOcclusionProbe (Vector3 position, ref int tetrahedronIndex, out Rendering.SphericalHarmonicsL2 lightProbe, out Vector4 occlusionProbe);

파라미터

position The world space position used to evaluate the probe.
tetrahedronIndex Tetrahedron index that guides interpolation. Start with a value of 0 and reuse results between frames for faster lookup.
lightProbe The light probe where the resulting lighting is written to.
occlusionProbe The occlusion probe where the resulting occlusion is written to.

설명

Calculate light probe and occlusion probe at the given world space position.