Component image File:LightGizmoComponent.pngLight Gizmo component as seen in the Scene Inspector
The Light Gizmo is used to control lights, and is generated by the Dev Tool.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Active
|
Bool | Whether the gizmo is usable. |
_target
|
direct RelayRef`1<Light> | The light this is editing. |
_pointIconActive
|
field drive of Bool | The field to drive to control the enabled of the point light icon. |
_spotIconActive
|
field drive of Bool | The field to drive to control the enabled of the spot light icon. |
_directionalIconActive
|
field drive of Bool | The field to drive to control the enabled of the directional light icon. |
_pointActive
|
field drive of Bool | The field to drive to control the enabled of the point light controls. |
_spotActive
|
field drive of Bool | The field to drive to control the enabled of the spot light controls. |
_directionalActive
|
field drive of Bool | The field to drive to control the enabled of the directional light controls. |
_pointGizmo
|
SphereGizmo | Stores the point light gizmo component. |
_spotGizmo
|
ConeGizmo | Stores the spot light gizmo component. |
_dirGizmo
|
VectorGizmo | Stores the directional light gizmo component. |
_iconMaterial
|
reference drive of OverlayFresnelMaterial | The field to drive to control the icon material. |
Usage
Do not use directly.
Examples
Used by the inspector tool to allow the physical editing of light values.