跳到主要内容

TryAcquireLightEstimateValue

Description

获取当前环境的光估值

Return

TypeDescription
light一盏 Unity 的灯光
警告

它可能是空的,请注意

Method

public Light TryAcquireLightEstimateValue()

Example

private void OnUpdate(){
Debug.Log($"LightEstimate:{ARMODAPI.TryAcquireLightEstimateValue()?.intensity}");
}