PointLight
A helper structure used to initialize a LightDataGI structure as a point light.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Experimental.GlobalIllumination
- Assembly: UnityEngine.CoreModule
public struct PointLight
Fields
Value | Description |
|---|---|
| color | The direct light color. |
| entityId | The light's entityId. |
| falloff | The falloff model to use for baking the point 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 | True if the light casts shadows, otherwise False. |
| sphereRadius | The light's sphere radius, influencing soft shadows. |