Component:DirectionalLightIntensityFieldAdapter: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Directional Light Intensity Field Adapter
|Name=Directional Light Intensity Field Adapter
}}
}}
{{stub}}
The '''DirectionalLightIntensityFieldAdapter''' component is used to convert intensity in a directional light from the old SRGB color space into linear when converting worlds.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true|
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true| The Float to drive with the converted value.
|Value|Float|
|Value|Float| The original value.
|Scale|Float|
|Scale|Float| How much to multiply <code>Value</code> by.
}}
}}


== Behavior ==
== Usage ==
This is usually auto generated and not used by the user directly.


== Examples ==
== Examples ==
Used to convert old content color into new content color for sun lights.


== See Also ==
== See Also ==
Line 20: Line 22:
[[Category:Components:Uncategorized{{#translation:}}|Directional Light Intensity Field Adapter]]
[[Category:Components:Uncategorized{{#translation:}}|Directional Light Intensity Field Adapter]]
[[Category:Components{{#translation:}}|Directional Light Intensity Field Adapter]]
[[Category:Components{{#translation:}}|Directional Light Intensity Field Adapter]]
[[Category:ComponentStubs]]

Latest revision as of 17:28, 16 February 2025

Component image 
Directional Light Intensity Field Adapter component as seen in the Scene Inspector

The DirectionalLightIntensityFieldAdapter component is used to convert intensity in a directional light from the old SRGB color space into linear when converting worlds.

Fields

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.
Target field drive of Float The Float to drive with the converted value.
Value Float The original value.
Scale Float How much to multiply Value by.

Usage

This is usually auto generated and not used by the user directly.

Examples

Used to convert old content color into new content color for sun lights.

See Also