Method GetShadowLightIndexFromLightIndex
GetShadowLightIndexFromLightIndex(int)
Gets the additional light index from the global visible light index, which is used to index arrays _AdditionalLightsPosition, _AdditionalShadowParams, etc.
Declaration
public int GetShadowLightIndexFromLightIndex(int visibleLightIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | visibleLightIndex | The index of the visible light. |
Returns
| Type | Description |
|---|---|
| int | The additional light index. |