imported>Psychpsyo Added Related Issues section |
m ProbablePrime moved page SmoothValue (Component) to Component:SmoothValue: Creating component Namespace |
(No difference)
|
Revision as of 06:32, 20 January 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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.
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. |
TargetValue
|
Float | 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
|
IField<float> | The value that is being driven |
Usage
Examples
Related Issues
#1341 - SmoothValue component doesn't support color
#1640 - SmoothValue<floatQ> behaves strangely when first driving a rotation
#1664 - BooleanValueDriver<floatQ> breaks Smooth Transform (rotation) / SmoothValue<floatQ>
#1711 - SmoothValue<T> Component Should have a CurvePreset field