Component:SmoothValue

From Resonite Wiki
Revision as of 21:26, 3 March 2024 by PJB (talk | contribs) (Automated: update Fields, Categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Smooth Value`1 component as seen in the Scene Inspector


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

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 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

Examples

Related Issues

Related Components