(One intermediate revision by the same user not shown)
Line 18:
Line 18:
|TargetMin|Float| The minimum of the range of the <code>Target</code> value.
|TargetMin|Float| The minimum of the range of the <code>Target</code> value.
|TargetMax|Float| The maximum of the range of the <code>Target</code> value.
|TargetMax|Float| The maximum of the range of the <code>Target</code> value.
|AllowReverseMapping|Bool| Allow <code>Target</code> to map it's value to <code>Source</code>'s ranged value when written to.
|AllowReverseMapping|Bool| Allow <code>Target</code> to map it's value to <code>Source</code>'s ranged value when written to. See [[Drives#Write Backs|write backs]].
|Clamp|Bool| Whether to prevent <code>Source</code> and <code>Target</code> from going outside their defined ranges.
|Clamp|Bool| Whether to prevent <code>Source</code> and <code>Target</code> from going outside their defined ranges.
}}
}}
Line 24:
Line 24:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Can be used to keep the fullness of two different containers the same percentage wise based on purely the stored units and maximum capacity.
<!--T:4-->
<!--T:4-->
Line 30:
Line 31:
<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
* [[Component:LinearMapper1D|LinearMapper1D]]
* [[Component:LinearMapper1D|LinearMapper1D]]
* [[Component:LinearMapper2D|LinearMapper2D]]
* [[Component:LinearMapper2D|LinearMapper2D]]
Latest revision as of 18:23, 17 February 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Linear Mapper 1D is a component that live maps one range to another, allowing for a reverse mapping of the target range value back to the source range when it is written to.