|
3rd Eye Scene C#
3rd Eye Scene C# documentation
|
Defines the core attributes for a 3D shape or object. More...
Public Member Functions | |
| bool | Read (BinaryReader reader) |
| Read the message from the given reader . | |
| bool | Write (PacketBuffer packet) |
| Write this message to packet . | |
| void | SetFromTransform (Matrix4 transform) |
| Initialise the attributes from a 4x4 transformation matrix. | |
| Matrix4 | GetTransform () |
| Extract a 4x4 transformation matrix from the stored attributes. | |
Public Attributes | |
| uint | Colour |
| The encoded colour. | |
| float | X |
| The position X coordinate. | |
| float | Y |
| The position X coordinate. | |
| float | Z |
| The position X coordinate. | |
| float | RotationX |
| Quaternion rotation X value. | |
| float | RotationY |
| Quaternion rotation Y value. | |
| float | RotationZ |
| Quaternion rotation Z value. | |
| float | RotationW |
| Quaternion rotation Z value (angle component). | |
| float | ScaleX |
| Scale along the X axis. | |
| float | ScaleY |
| Scale along the Y axis. | |
| float | ScaleZ |
| Scale along the Z axis. | |
Properties | |
| uint | Color [get, set] |
| Alias the Colour member. | |
Defines the core attributes for a 3D shape or object.
Defines the object's:
Semantics may vary for different shapes, especially scale interpretation.
| Matrix4 Tes::Net::ObjectAttributes::GetTransform | ( | ) | [inline] |
Extract a 4x4 transformation matrix from the stored attributes.
| bool Tes::Net::ObjectAttributes::Read | ( | BinaryReader | reader | ) | [inline] |
Read the message from the given reader .
| reader | The reader to read from. |
| void Tes::Net::ObjectAttributes::SetFromTransform | ( | Matrix4 | transform | ) | [inline] |
Initialise the attributes from a 4x4 transformation matrix.
Does not modify Colour.
| transform | The transformation matrix. |
| bool Tes::Net::ObjectAttributes::Write | ( | PacketBuffer | packet | ) | [inline] |
Write this message to packet .
| packet | The packet to write to. |
The encoded colour.