Component:ValueGradientDriver

From Resonite Wiki
Revision as of 06:30, 20 January 2024 by ProbablePrime (talk | contribs) (ProbablePrime moved page ValueGradientDriver`1 (Component) to Component:ValueGradientDriver`1: Creating component Namespace)

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


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

The ValueGradientDriver component changes the value of the field defined in Target based on the items in the Points list, and their Position in relation to the Progress value.

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.
Progress Float Controls which items from the Points list will be used to drive the value of Target
Target IField<float> The field that this component will drive the value of
Interpolate Bool Controls whether or not this component will interpolate (or blend) between the nearest two Points to the current Progress value.
Points SyncList<Point> A list of items indicating their Position (in relation to Progress), and a Value

Usage

Examples

Related Components