SpotLightBoxShape
Use this Struct to help initialize a LightDataGI structure as a box-shaped spot light.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Experimental.GlobalIllumination
- Assembly: UnityEngine.CoreModule
public struct SpotLightBoxShape
Fields
Value | Description |
|---|---|
| color | The direct light color. |
| entityId | The light's entityId. |
| height | The height of the box light. |
| indirectColor | The indirect light color. |
| indirectMultiplier | The multiplier for indirect light intensity. Corresponds to Light.bounceIntensity. |
| mode | The lightmode. |
| orientation | The light's orientation. |
| position | The light's position. |
| range | The light's range. |
| shadow | Specifies whether the light casts shadows or not. This is true if the light does cast shadows and false otherwise. |
| width | The width of the box light. |