3es
0.7
|
Contains core object attributes. More...
#include <3esmessages.h>
Public Member Functions | |
void | identity () |
Set to an identity transform coloured white. | |
bool | read (PacketReader &reader) |
Read this message from reader . More... | |
bool | write (PacketWriter &writer) const |
Write this message to writer . More... | |
Public Attributes | |
uint32_t | colour |
Initial object colour. | |
float | position [3] |
Object position. | |
float | rotation [4] |
Object rotation (quaternion) | |
float | scale [3] |
Object scale. | |
Contains core object attributes.
This includes details of the model transform and colour.
|
inline |
Read this message from reader
.
reader | The data source. |
References tes::PacketReader::readArray(), and tes::PacketReader::readElement().
Referenced by tes::MeshCreateMessage::read(), tes::CreateMessage::read(), and tes::UpdateMessage::read().
|
inline |
Write this message to writer
.
writer | The target buffer. |
References tes::PacketWriter::writeArray(), and tes::PacketWriter::writeElement().
Referenced by tes::MeshCreateMessage::write(), tes::CreateMessage::write(), and tes::UpdateMessage::write().