Community ProtoFlux Library/AmasterAmaster/Math/Fade

From Resonite Wiki
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Fade
*
Next
Start
OnFinishedFading
Speed
Value
Reverse
Amaster's Math Library

The Fade node takes in a starting point and a speed to fade from that point to 0, along with the option to reverse the fading. This node then fires when the fading has started and finished, and also returns the fading value.

Inputs

* (Call)

Calls to start the fading operation.

Start (float)

The starting point for the fading operation.

Speed (float)

The speed of the fading operation.

Reverse (bool)

Reverses the fading operation. Instead of starting from the provided value and going to 0, the fade starts at 0 and goes to the provided value.

Outputs

Next (Continuation)

Continues the code form here.

OnFinishedFading (Continuation)

Fires when the fading has finished.

Value (float)

Returns the current fading value.