Automated: update Fields, Categories |
clean up, see also |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{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. | |||
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 24: | Line 20: | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
{{stub}} | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T: | <!--T:6--> | ||
== | == See Also == | ||
* [[Component:Tween]] | |||
</translate> | </translate> | ||
[[Category:Generics{{#translation:}}]] | [[Category:Generics{{#translation:}}]] | ||
[[Category:Components{{#translation:}}|Smooth Value`1]] | [[Category:Components{{#translation:}}|Smooth Value`1]] | ||
[[Category:Generic Components{{#translation:}}|Smooth Value`1]] | [[Category:Generic Components{{#translation:}}|Smooth Value`1]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}|Smooth Value`1]] | [[Category:Components:Transform:Drivers{{#translation:}}|Smooth Value`1]] |
Revision as of 21:10, 2 February 2025
Component image 
Smooth Value`1 component as seen in the Scene Inspector

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.
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 that is being interpolated towards |
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. |
Value
|
field drive of T | The value that is being driven |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.