User:Dante/Types
Jump to navigation
Jump to search
Types
Color | Type | Description |
Bool | Bool holds a true/false value | |
BoundingBox | ... | |
Byte | An 8-bit integer ranging from 0 to 255 | |
Char | A single text character | |
Color | Holds an RGBA color value | |
DateTime | .. | |
Decimal | ... | |
Double | ... | |
Float | A floating point value | |
Int | A single 32-bit integer value with range -2,147,483,648 to 2,147,483,647 | |
Long | Similar to int, but 64-bit with range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 | |
Sbyte | A singed byte ranging -128 to 127 | |
Short | A 16-bit integer ranging -32,768 to 32,767 | |
Slot | This type contains a reference to an object in the world hierarchy | |
String | An array of chars | |
UInt | A 32-bit integer ranging 0 to 4,294,967,295 | |
User | Holds a reference to a user |
Variations
Some types have variations of themselves. For example in addition to the Float type there is also Float2, Float3 and Float4. These contain multiple of the base type. For example where a 3 dimensional vector is expected as input a Float3 is used to pass 3 floating point values representing x, y and z. The Pack and Unpack nodes found in Operators can be used to convert supported types between these variations and their base types. For example the "Pack xyz" node has 3 Float inputs and 1 Float3 output.