struct in UnityEngine.Experimental.GlobalIllumination
Cambiar al ManualA helper structure used to initialize a LightDataGI structure as a rectangle light.
| color | The direct light color. |
| falloff | The falloff model to use for baking the rectangular light. |
| height | The height of the rectangle light. |
| indirectColor | The indirect light color. |
| instanceID | The light's instanceID. |
| 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. |
| width | The width of the rectangle light. |