add info |
m header |
||
Line 5: | Line 5: | ||
The '''ConstantLerpValue''' component will make the <code>Value</code> reach <code>TargetValue</code>, making <code>Speed</code> progress per second. | The '''ConstantLerpValue''' component will make the <code>Value</code> reach <code>TargetValue</code>, making <code>Speed</code> progress per second. | ||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TargetValue|'''T'''|TypeAdv0=true| The value to stop at. | |TargetValue|'''T'''|TypeAdv0=true| The value to stop at. |
Revision as of 22:43, 8 January 2025
Component image 
Constant Lerp Value component as seen in the Scene Inspector

The ConstantLerpValue component will make the Value
reach TargetValue
, making Speed
progress per second.
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. |
TargetValue
|
T | The value to stop at. |
Speed
|
Float | The amount to change Value by per second to reach TargetValue
|
WriteBack
|
Bool | Whether changes to Value will be written to TargetValue also
|
Value
|
field drive of T | The value to constantly progress towards TargetValue
|