Math remap: Difference between revisions
Jump to navigation
Jump to search
m (ep1 add) |
m (fixed datatype) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
*{{kv targetname}} | *{{kv targetname}} | ||
*'''in1''' < | *'''in1''' <float> | ||
:Input values below this value will be ignored. | :Input values below this value will be ignored. | ||
*'''in2''' < | *'''in2''' <float> | ||
:Input values above this value will be ignored. | :Input values above this value will be ignored. | ||
*'''out1''' < | *'''out1''' <float> | ||
:When the input value is equal to 'Minimum Valid Input Value' ('''in1'''), this is the output value. | :When the input value is equal to 'Minimum Valid Input Value' ('''in1'''), this is the output value. | ||
*'''out2''' < | *'''out2''' <float> | ||
:When the input value is equal to 'Maximum Valid Input Value' ('''in2'''), this is the output value. | :When the input value is equal to 'Maximum Valid Input Value' ('''in2'''), this is the output value. | ||
*{{kv enabledisable ep1}} | *{{kv enabledisable ep1}} |
Revision as of 20:59, 22 August 2006
Entity Description
An entity that remaps a range of input values to a given range of output values.
Keyvalues
- Template:Kv targetname
- in1 <float>
- Input values below this value will be ignored.
- in2 <float>
- Input values above this value will be ignored.
- out1 <float>
- When the input value is equal to 'Minimum Valid Input Value' (in1), this is the output value.
- out2 <float>
- When the input value is equal to 'Maximum Valid Input Value' (in2), this is the output value.
Flags
- 1 : Ignore out of range input values
Inputs
- Template:I targetname
- InValue <float>
- Input value and fire the output with the remapped value.
Outputs
- Template:O targetname
- OutValue <float>
- Fired when the InValue input is received, with the remapped input value as the parameter.