ProtoFlux:Delta

From Resonite Wiki
Revision as of 00:07, 10 February 2024 by Colin The Cat (talk | contribs) (Add info and standardize)
Delta
Value
*
Math

Returns a change in value. The Greek letter Delta (Δ) is commonly being used as a variable or symbol related to change.

This node is dependent on your framerate and its output may differ between users as it is not being synchronized.

This is best used in conjunction with the DivDeltaTime node.

Inputs

Value (Pseudo-Generic)

The value for which a delta should be kept track of.

Outputs

* (Pseudo-Generic)

This is the delta-value, which is the change compared to the last Local Update.

Examples

Implementation Details

This node can be implemented using other ProtoFlux nodes:

In this case, the leftmost Input Node represents the node's input and the Display its output. This implementation of an int Delta Node is equivalent to the implementation in the game's code. How exactly the difference to the previous value is calculated depends on the value type.