add info |
989onan bot (talk | contribs) Automated: update SyncDelegates |
||
Line 16: | Line 16: | ||
|_intensityField|'''[[Component:FloatTextEditorParser|FloatTextEditorParser]]'''|TypeAdv7=true| The intensity to set all lights under <code>Root</code> to. | |_intensityField|'''[[Component:FloatTextEditorParser|FloatTextEditorParser]]'''|TypeAdv7=true| The intensity to set all lights under <code>Root</code> to. | ||
|_rangeField|'''[[Component:FloatTextEditorParser|FloatTextEditorParser]]'''|TypeAdv8=true| The distance range to set all lights under <code>Root</code> to. | |_rangeField|'''[[Component:FloatTextEditorParser|FloatTextEditorParser]]'''|TypeAdv8=true| The distance range to set all lights under <code>Root</code> to. | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|SetShadowType[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|ChangeIntensity[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|ChangeRange[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|Remove[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|Disable[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
|Enable[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |||
}} | }} | ||
Revision as of 06:05, 17 March 2025
Component image 
World Light Sources Wizard component as seen in the Scene Inspector

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. |
Root
|
Slot | The root directory in which all lights underneath it will be affected. |
ProcessPointLights
|
Bool | Whether to process point lights. |
ProcessSpotLights
|
Bool | Whether to process spot lights. |
ProcessDirectionalLights
|
Bool | Whether to process directional lights. |
ProcessDisabled
|
Bool | Whether to process lights that are not part of an active hiearchy or the component itself is disabled. |
TargetShadowType
|
ShadowType | The shadow type to set all lights to. |
_tag
|
TextField | The slot tag that lights have to have under Root to be affected.
|
_intensityField
|
FloatTextEditorParser | The intensity to set all lights under Root to.
|
_rangeField
|
FloatTextEditorParser | The distance range to set all lights under Root to.
|
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
SetShadowTypeButtonEventHandler
|
ButtonEventHandler | ✓ | |
ChangeIntensityButtonEventHandler
|
ButtonEventHandler | ✓ | |
ChangeRangeButtonEventHandler
|
ButtonEventHandler | ✓ | |
RemoveButtonEventHandler
|
ButtonEventHandler | ✓ | |
DisableButtonEventHandler
|
ButtonEventHandler | ✓ | |
EnableButtonEventHandler
|
ButtonEventHandler | ✓ |
Usage
Examples
See World Light Sources Wizard.