serialize method
void
serialize(
- ByteDataWriter writer
Implementation
void serialize(ByteDataWriter writer) {
// Serializes a message object of type ColorRGBA
// Serialize message field [r]
writer.writeFloat32(r);
// Serialize message field [g]
writer.writeFloat32(g);
// Serialize message field [b]
writer.writeFloat32(b);
// Serialize message field [a]
writer.writeFloat32(a);
}