fix info |
be specific about which bits are used for the boolean types - rewrite the string description |
||
| Line 1: | Line 1: | ||
{{Table EnumValues | {{Table EnumValues | ||
|bool|0| Byte with | |bool|0| Byte with the lowest bit being the value | ||
|bool2|1| Byte with | |bool2|1| Byte with the 2 lowest bits being the value (1 = x, 2 = y) | ||
|bool3|2| Byte with | |bool3|2| Byte with the 3 lowest bits being the value (1 = x, 2 = y, 4 = z) | ||
|bool4|3| Byte with | |bool4|3| Byte with the 4 lowest bits being the value (1 = x, 2 = y, 4 = z, 8 = w) | ||
|byte|4| Byte | |byte|4| Byte | ||
|ushort|5| 2 Bytes | |ushort|5| 2 Bytes | ||
| Line 39: | Line 39: | ||
|color|37| 16 Bytes which is 4 floats for RGBA | |color|37| 16 Bytes which is 4 floats for RGBA | ||
|color32|38| 4 bytes which is 4 bytes for RGBA | |color32|38| 4 bytes which is 4 bytes for RGBA | ||
|string|39| | |string|39| the length of the string in 7 bit encoding, and then the string in UTF-8. '''NOTE: String animation track values (inside a Discrete or Raw animation track) include an extra boolean byte before, indicating if the string has a value (true) or is null (false).''' | ||
}} | }} | ||
Revision as of 04:21, 1 November 2025
| Name | Value | Description |
|---|---|---|
bool
|
0 | Byte with the lowest bit being the value |
bool2
|
1 | bool3 |
2
|
bool4 | 3 |
byte
|
4 | Byte |
ushort
|
5 | 2 Bytes |
uint
|
6 | 4 Bytes |
ulong
|
7 | 8 Bytes |
sbyte
|
8 | 1 Byte |
short
|
9 | 2 Bytes |
int
|
10 | 4 Bytes |
long
|
11 | 8 Bytes |
int2
|
12 | 8 Bytes |
int3
|
13 | 12 Bytes |
int4
|
14 | 16 bytes |
uint2
|
15 | 8 Bytes |
uint3
|
16 | 12 Bytes |
uint4
|
17 | 16 Bytes |
long2
|
18 | 16 Bytes |
long3
|
19 | 24 Bytes |
long4
|
20 | 32 Bytes |
float
|
21 | 4 Bytes |
float2
|
22 | 8 Bytes |
float3
|
23 | 12 Bytes |
float4
|
24 | 16 Bytes |
floatQ
|
25 | 16 Bytes (x,y,z,w) |
float2x2
|
26 | 16 bytes arranged by rows starting at top left down to bottom right. |
float3x3
|
27 | 36 bytes arranged by rows starting at top left down to bottom right. |
float4x4
|
28 | 64 bytes arranged by rows starting at top left down to bottom right. |
double
|
29 | 8 Bytes |
double2
|
30 | 16 Bytes |
double3
|
31 | 24 Bytes |
double4
|
32 | 32 Bytes |
doubleQ
|
33 | 40 Bytes |
double2x2
|
34 | 32 Bytes arranged by rows starting at top left down to bottom right. |
double3x3
|
35 | 72 Bytes arranged by rows starting at top left down to bottom right. |
double4x4
|
36 | 128 Bytes arranged by rows starting at top left down to bottom right. |
color
|
37 | 16 Bytes which is 4 floats for RGBA |
color32
|
38 | 4 bytes which is 4 bytes for RGBA |
string
|
39 | the length of the string in 7 bit encoding, and then the string in UTF-8. NOTE: String animation track values (inside a Discrete or Raw animation track) include an extra boolean byte before, indicating if the string has a value (true) or is null (false). |