ドキュメント

Unity Engine

Unity Engine

perLightInfos

An array of LightShadowCasterCullingInfo.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public NativeArray<LightShadowCasterCullingInfo> perLightInfos

Remarks

Each entry in this array is associated with the VisibleLight at the same position in the array CullingResults.visibleLights. Therefore, both arrays must have the same size. The LightShadowCasterCullingInfo.splitRange of each entry describes a range in the array ShadowCastersCullingInfos.splitBuffer. An entry with LightShadowCasterCullingInfo.splitRange set to (0,0) will cause shadow casters culling and shadow maps rendering to be skipped for this light.