m header |
add link |
||
Line 9: | Line 9: | ||
|TargetValue|'''T'''|TypeAdv0=true| The value to stop at. | |TargetValue|'''T'''|TypeAdv0=true| The value to stop at. | ||
|Speed|Float| The amount to change <code>Value</code> by per second to reach <code>TargetValue</code> | |Speed|Float| The amount to change <code>Value</code> by per second to reach <code>TargetValue</code> | ||
|WriteBack|Bool| Whether changes to <code>Value</code> will be written to <code>TargetValue</code> | |WriteBack|Bool| Whether changes to <code>Value</code> will be written to <code>TargetValue</code>. See [[Drives#Write Backs|write backs]]. | ||
|Value|{{RootFieldType|FieldDrive`1|T}}|TypeAdv3=true| The value to constantly progress towards <code>TargetValue</code> | |Value|{{RootFieldType|FieldDrive`1|T}}|TypeAdv3=true| The value to constantly progress towards <code>TargetValue</code> | ||
}} | }} |
Latest revision as of 18:28, 17 February 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 . See write backs.
|
Value
|
field drive of T | The value to constantly progress towards TargetValue
|