LightProbesQuery

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

Thread-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.

Properties

Property Description
IsCreatedThis property indicates whether target query data is valid.

Constructors

Constructor Description
LightProbesQuery"Constructor for creating Light Probe sample queries."

Public Methods

Method Description
CalculateInterpolatedLightAndOcclusionProbeCalculate light probe and occlusion probe at the given world space position.
CalculateInterpolatedLightAndOcclusionProbesCalculate light probes and occlusion probes at the given world space positions.
DisposeUse this method to clean up the memory this query references.

Did you find this page useful? Please give it a rating: