struct in UnityEngine.Experimental.GlobalIllumination
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseUse this Struct to help initialize a LightDataGI structure as a pyramid-shaped spot light.
angle | The opening angle of the shorter side of the pyramid light. |
aspectRatio | The aspect ratio for the pyramid shape. Values larger than 1 extend the width and values between 0 and 1 extend the height. |
color | The direct light color. |
falloff | The falloff model to use for baking the pyramid 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 | Specifies whether the light casts shadows or not. This is true if the light does cast shadows and false otherwise. |