Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Light Gizmo | |Name=Light Gizmo | ||
}} | }} | ||
The '''Light Gizmo''' is used to control lights, and is generated by the [[Dev Tool]]. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Active|Bool| | |Active|Bool| Whether the gizmo is usable. | ||
|_target|{{RootFieldType|RelayRef`1|[[Component:Light|Light]]}}|TypeAdv1=true| | |_target|{{RootFieldType|RelayRef`1|[[Component:Light|Light]]}}|TypeAdv1=true| The light this is editing. | ||
|_pointIconActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| | |_pointIconActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| The field to drive to control the enabled of the point light icon. | ||
|_spotIconActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| | |_spotIconActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| The field to drive to control the enabled of the spot light icon. | ||
|_directionalIconActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| | |_directionalIconActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| The field to drive to control the enabled of the directional light icon. | ||
|_pointActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv5=true| | |_pointActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv5=true| The field to drive to control the enabled of the point light controls. | ||
|_spotActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv6=true| | |_spotActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv6=true| The field to drive to control the enabled of the spot light controls. | ||
|_directionalActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv7=true| | |_directionalActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv7=true| The field to drive to control the enabled of the directional light controls. | ||
|_pointGizmo|'''[[Component:SphereGizmo|SphereGizmo]]'''|TypeAdv8=true| | |_pointGizmo|'''[[Component:SphereGizmo|SphereGizmo]]'''|TypeAdv8=true| Stores the point light gizmo component. | ||
|_spotGizmo|'''[[Component:ConeGizmo|ConeGizmo]]'''|TypeAdv9=true| | |_spotGizmo|'''[[Component:ConeGizmo|ConeGizmo]]'''|TypeAdv9=true| Stores the spot light gizmo component. | ||
|_dirGizmo|'''[[Component:VectorGizmo|VectorGizmo]]'''|TypeAdv10=true| | |_dirGizmo|'''[[Component:VectorGizmo|VectorGizmo]]'''|TypeAdv10=true| Stores the directional light gizmo component. | ||
|_iconMaterial|{{RootFieldType|DriveRef`1|[[OverlayFresnelMaterial|OverlayFresnelMaterial]]}}|TypeAdv11=true| | |_iconMaterial|{{RootFieldType|DriveRef`1|[[OverlayFresnelMaterial|OverlayFresnelMaterial]]}}|TypeAdv11=true| The field to drive to control the icon material. | ||
}} | }} | ||
== | == Usage == | ||
Do not use directly. | |||
== Examples == | == Examples == | ||
Used by the inspector tool to allow the physical editing of light values. | |||
== See Also == | == See Also == | ||
* [[Light Tool]] | |||
* [[Dev Tool]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Light Gizmo]] | [[Category:Components:Uncategorized{{#translation:}}|Light Gizmo]] | ||
[[Category:Components{{#translation:}}|Light Gizmo]] | [[Category:Components{{#translation:}}|Light Gizmo]] | ||
Latest revision as of 17:06, 1 June 2025
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.