struct in UnityEngine
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThread-safe struct for batch sampling Light Probes in a Scene.
This struct allows for sampling Light Probes from a job or a thread. If you load a scene additively, you must call LightProbes.Tetrahedralize to include its Light Probes in the batch sample.
IsCreated | This property indicates whether target query data is valid. |
LightProbesQuery | "Constructor for creating Light Probe sample queries." |
CalculateInterpolatedLightAndOcclusionProbe | Calculate light probe and occlusion probe at the given world space position. |
CalculateInterpolatedLightAndOcclusionProbes | Calculate light probes and occlusion probes at the given world space positions. |
Dispose | Use this method to clean up the memory this query references. |