RenderWare Data Types
(Redirected from RwRGBA)
This page lists data types built into RenderWare 3.
Structures
RwV3d
A structure comprised of three floats, mainly used to represent the location of a point in 3D space.
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | RwReal | x | X value | |
0x4 | 0x4 | RwReal | y | Y value | |
0x8 | 0x4 | RwReal | z | Z value |
RwBBox
A structure defining the supremum and infimum vertices of a bounding box.
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0xC | RwV3d | sup | Supremum vertex | |
0xC | 0xC | RwV3d | inf | Infimum vertex |
RwPlane
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0xC | RwV3d | normal | ||
0xC | 0x4 | RwReal | distance |
RwRGBA
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x1 | RwUInt8 | red | ||
0x1 | 0x1 | RwUInt8 | green | ||
0x2 | 0x1 | RwUInt8 | blue | ||
0x3 | 0x1 | RwUInt8 | alpha |