Version: 2023.2

LightProbesQuery

struct in UnityEngine

切换到手册

描述

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.

变量

IsCreatedThis property indicates whether target query data is valid.

构造函数

LightProbesQuery"Constructor for creating Light Probe sample queries."

公共函数

CalculateInterpolatedLightAndOcclusionProbeCalculate light probe and occlusion probe at the given world space position.
CalculateInterpolatedLightAndOcclusionProbes计算给定世界空间位置处的光照探针和遮挡探针。
DisposeUse this method to clean up the memory this query references.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961