语言英语
  • C#

CullingResults.GetShadowCasterBounds

声明

public bool GetShadowCasterBounds(int lightIndex, out Bounds outBounds);

参数

lightIndex 投射阴影的光的索引。
outBounds 要计算的边界。

返回值

bool 如果光照至少影响到场景中的一个阴影投射对象,则返回 True。

描述

返回包含可见阴影投射体的边界框。例如,可用于动态调整级联范围。


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