Enum To Int`1 (LogiX node)
Jump to navigation
Jump to search
Enum To Int`1 | ||
---|---|---|
Inputs | ||
ShadowCastMode | Value | |
Outputs | ||
Int | * |
The Enum To Int`1 LogiX node converts an Enum to an integer. Typically such Enum values are properties on components.
Usage
Use this node to convert an Enum to an integer. In general, it is not a good idea to rely on the specific numeric value of an Enum. However, the integer can be used to encode the Enum for storage.
Examples
Node Menu
Math / Enums | ||||||
---|---|---|---|---|---|---|
Back | Enum To Int`1 | Int To Enum`1 |