Version: 2023.2
言語: 日本語

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.