This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image ![](/images/thumb/7/78/LinearColorMapperComponent.png/510px-LinearColorMapperComponent.png)
Linear Color Mapper component as seen in the Scene Inspector
![](/images/thumb/7/78/LinearColorMapperComponent.png/510px-LinearColorMapperComponent.png)
The LinearColorMapper allows for mapping a float to a color range, and optionally do so in reverse.
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. |
Source
|
direct RelayRef`1<IValue`1<Float>> | The value to map from SourceMin to SourceMax using Target .
|
Target
|
field drive of ColorX | The value to map from TargetMin to TargetMax using Source .
|
SourceMin
|
Float | The minimum of the range of the Source value.
|
SourceMax
|
Float | The maximum of the range of the Source value.
|
TargetMin
|
ColorX | The minimum of the range of the Target value.
|
TargetMax
|
ColorX | The maximum of the range of the Target value.
|
AllowReverseMapping
|
Bool | Allow Target to map it's value to Source 's ranged value when written to.
|
Clamp
|
Bool | Whether to prevent Source and Target from going outside their defined ranges.
|
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.