Contains all drawable elements of the LightEditor.
areaSizeX | Exposed SerializedProperty for the inspected Light. |
areaSizeY | Exposed SerializedProperty for the inspected Light. |
bakedShadowAngleProp | Exposed SerializedProperty for the inspected Light. |
bakedShadowRadiusProp | Exposed SerializedProperty for the inspected Light. |
bounceIntensity | Exposed SerializedProperty for the inspected Light. |
color | Exposed SerializedProperty for the inspected Light. |
colorTemperature | Exposed SerializedProperty for the inspected Light. |
cookie | The light cookie texture used by the light. |
cookieProp | Exposed SerializedProperty for the inspected Light. |
cookieSize | Exposed SerializedProperty for the inspected Light. |
cullingMask | Exposed SerializedProperty for the inspected Light. |
flare | Exposed SerializedProperty for the inspected Light. |
halo | Exposed SerializedProperty for the inspected Light. |
innerSpotAngle | Exposed SerializedProperty for the inspected Light. |
intensity | Exposed SerializedProperty for the inspected Light. |
isAreaLightType | Is the current light an area light or not. Area lights include Rectangle and Disc lights. |
isBakedOrMixed | Is the current light baked or mixed. |
isCompletelyBaked | Is the light completely baked. |
isMixed | Is the current light mixed. |
isRealtime | Is the light realtime? |
light | The light being inspected. |
lightmapping | Exposed SerializedProperty for the inspected Light. |
lightShape | This property describes the shape of the spot light. Only Scriptable Render Pipelines use this property; the built-in renderer does not support it. |
lightType | Exposed SerializedProperty for the inspected Light. |
range | Exposed SerializedProperty for the inspected Light. |
renderingLayerMask | Exposed SerializedProperty for the inspected Light. |
renderMode | Exposed SerializedProperty for the inspected Light. |
shadowsBias | Exposed SerializedProperty for the inspected Light. |
shadowsNearPlane | Exposed SerializedProperty for the inspected Light. |
shadowsNormalBias | Exposed SerializedProperty for the inspected Light. |
shadowsResolution | Exposed SerializedProperty for the inspected Light. |
shadowsStrength | Exposed SerializedProperty for the inspected Light. |
shadowsType | Exposed SerializedProperty for the inspected Light. |
spotAngle | Exposed SerializedProperty for the inspected Light. |
useColorTemperature | Exposed SerializedProperty for the inspected Light. |
ApplyModifiedProperties | See SerializedObject.ApplyModifiedProperties. |
DrawArea | Draws the default LightEditor area widget. |
DrawBakedShadowAngle | Draws the default LightEditor baked shadow angle widget. |
DrawBakedShadowRadius | Draws the default LightEditor baked shadow radius widget. |
DrawBounceIntensity | Draws the default LightEditor bounce intensity widget. |
DrawColor | Draws the default LightEditor color widget. |
DrawCookie | Draws the default LightEditor cookie widget. |
DrawCookieSize | Draws the default LightEditor cookie size widget. |
DrawCullingMask | Draws the default LightEditor culling mask widget. |
DrawFlare | Draws the default LightEditor flare widget. |
DrawHalo | Draws the default LightEditor halo widget. |
DrawInnerAndOuterSpotAngle | Draws the default LightEditor inner and outer spot angle widget. |
DrawIntensity | Draws the default LightEditor intensity widget. |
DrawLightmapping | Draws the default LightEditor lightmapping widget. |
DrawLightType | Draws the default LightEditor light type widget. |
DrawRange | Draws the default LightEditor range widget. |
DrawRenderingLayerMask | Draws the default LightEditor rendering LayerMask widget. |
DrawRenderMode | Draws the default LightEditor render mode widget. |
DrawRuntimeShadow | Draws the default LightEditor runtime shadows widget. |
DrawShadowsType | Draws the default LightEditor shadows type widget. |
DrawSpotAngle | Draws the default LightEditor spot angle widget. |
OnDestroy | Cleanup internal settings state. |
OnEnable | Populate the settings from the referenced SerializedObject. |
Update | See SerializedObject.Update. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.