add info |
fix wording |
||
Line 7: | Line 7: | ||
|Name=Linear Mapper 3D | |Name=Linear Mapper 3D | ||
}} | }} | ||
Linear Mapper 3D is a component that draws a line from <code>TargetMin</code> and <code>TargetMax</code> and uses a linear range between the two to map Source to a range between <code>SourceMin</code> and <code>SourceMax</code>. | Linear Mapper 3D is a component that draws a line from <code>TargetMin</code> and <code>TargetMax</code> and uses a linear range between the two with <code>Target</code> to map <code>Source</code> to a range between <code>SourceMin</code> and <code>SourceMax</code>. | ||
<!--T:2--> | <!--T:2--> | ||
Line 36: | Line 36: | ||
* [[Component:LinearMapper4D|LinearMapper4D]] | * [[Component:LinearMapper4D|LinearMapper4D]] | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Linear Mapper 3D]] | [[Category:Components{{#translation:}}|Linear Mapper 3D]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}|Linear Mapper 3D]] | [[Category:Components:Transform:Drivers{{#translation:}}|Linear Mapper 3D]] |
Latest revision as of 19:03, 29 October 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Linear Mapper 3D is a component that draws a line from TargetMin
and TargetMax
and uses a linear range between the two with Target
to map Source
to a range between SourceMin
and SourceMax
.
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. |
Source
|
direct RelayRef`1<IValue`1<Float>> | The value to map from SourceMin to SourceMax using Target .
|
Target
|
field drive of Float3 | 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
|
Float3 | The minimum of the range of the Target value.
|
TargetMax
|
Float3 | 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.
|