ProtoFlux:Shift Enum

From Resonite Wiki
Revision as of 21:31, 3 February 2024 by 989onan (talk | contribs) (typo in node visual)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Shift Enum < T >
Value
*
Delta
Enums


See Enums for a more in depth explaination on what Enums are.

Shift Enum is a ProtoFlux node that when provided an Enum will give an enum with the provided Delta (Int) offset from said enum numerically according to the Enums page. "*" and "Value" will never be different enum types.

Inputs

Value (Enum Generic)

The Enum to start at.

Delta (Int)

The offset from Value (Enum Generic) to use for the returned * (Enum Generic).

Outputs

* (Enum Generic)

The Enum that is Delta (Int) offset from Value (Enum Generic) numerically. This node will wrap around forwards and backwards for the output.