(One intermediate revision by the same user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=SmoothValue`1Component.png
|Image=SmoothValue`1Component.png
|Name=Smooth Value`1
|Name=Smooth Value`1
}}
}}
The '''SmoothValue''' component smoothly interpolates a given value towards a target value at a set speed.
<!--T:1-->
== Introduction ==
The SmoothValue component smoothly interpolates a given value towards a target value at a set speed.
To do this it drives the value it is interpolating.
To do this it drives the value it is interpolating.
Line 18:
Line 14:
|TargetValue|'''T'''|TypeAdv0=true| The value that is being interpolated towards
|TargetValue|'''T'''|TypeAdv0=true| The value that is being interpolated towards
|Speed|Float| The speed at which it is interpolated
|Speed|Float| The speed at which it is interpolated
|WriteBack|Bool| If WriteBack is enabled, writing to the driven value will also set TargetValue. If not, the driven value cannot be written to.
|WriteBack|Bool| If WriteBack is enabled, writing to the driven value will also set TargetValue. If not, the driven value cannot be written to. See [[Drives#Write Backs|write backs]].
|Value|{{RootFieldType|FieldDrive`1|T}}|TypeAdv3=true| The value that is being driven
|Value|{{RootFieldType|FieldDrive`1|T}}|TypeAdv3=true| The value that is being driven
The SmoothValue component smoothly interpolates a given value towards a target value at a set speed.
To do this it drives the value it is interpolating.