| 
|   | MeshSet (uint32_t id=0u, uint16_t category=0u, int partCount=0) | 
|   | Create a shape with a partCount parts.  More...
  | 
|   | 
|   | MeshSet (const MeshResource *part, uint32_t id=0u, uint16_t category=0u) | 
|   | Create a shape with a single part with transform matching the shape transform.  More...
  | 
|   | 
| 
  | ~MeshSet () | 
|   | Destructor. 
  | 
|   | 
| int  | partCount () const | 
|   | Get the number of parts to this shape.  More...
  | 
|   | 
| void  | setPart (int index, const MeshResource *part, const Matrix4f &transform) | 
|   | Set the part at the given index.  More...
  | 
|   | 
| const MeshResource *  | partAt (int index) const | 
|   | Fetch the part at the given index.  More...
  | 
|   | 
| const Matrix4f &  | partTransform (int index) const | 
|   | Fetch the transform for the part at the given index.  More...
  | 
|   | 
| 
bool  | writeCreate (PacketWriter &stream) const override | 
|   | Overridden to include the number of mesh parts, their IDs and transforms. 
  | 
|   | 
| int  | enumerateResources (const Resource **resources, int capacity, int fetchOffset=0) const override | 
|   | Enumerate the mesh resources for this shape.  More...
  | 
|   | 
| Shape *  | clone () const override | 
|   | Clone the mesh shape.  More...
  | 
|   | 
| 
  | Shape (uint16_t routingId, uint32_t id=0) | 
|   | 
|   | Shape (uint16_t routingId, uint32_t id, uint16_t category) | 
|   | Construct a box object.  More...
  | 
|   | 
| 
uint16_t  | routingId () const | 
|   | 
| 
uint32_t  | id () const | 
|   | 
| 
Shape &  | setId (uint32_t id) | 
|   | 
| 
uint16_t  | category () const | 
|   | 
| 
Shape &  | setCategory (uint16_t category) | 
|   | 
| Shape &  | setWireframe (bool wire) | 
|   | Sets the wireframe flag value for this shape.  More...
  | 
|   | 
| bool  | isWireframe () const | 
|   | Returns true if the wireframe flag is set.  More...
  | 
|   | 
| Shape &  | setTransparent (bool transparent) | 
|   | Sets the transparent flag value for this shape.  More...
  | 
|   | 
| bool  | isTransparent () const | 
|   | Returns true if the transparent flag is set.  More...
  | 
|   | 
| Shape &  | setTwoSided (bool twoSided) | 
|   | Sets the two sided shader flag value for this shape.  More...
  | 
|   | 
| bool  | isTwoSided () const | 
|   | Returns true if the two sided shader flag is set.  More...
  | 
|   | 
| Shape &  | setFlags (uint16_t flags) | 
|   | Set the full set of ObjectFlag values.  More...
  | 
|   | 
| uint16_t  | flags () const | 
|   | Retrieve the full set of ObjectFlag values.  More...
  | 
|   | 
| 
Shape &  | setPosition (const V3Arg &pos) | 
|   | 
| 
Vector3f  | position () const | 
|   | 
| 
Shape &  | setPosX (float p) | 
|   | 
| 
Shape &  | setPosY (float p) | 
|   | 
| 
Shape &  | setPosZ (float p) | 
|   | 
| 
Shape &  | setRotation (const QuaternionArg &rot) | 
|   | 
| 
Quaternionf  | rotation () const | 
|   | 
| 
Shape &  | setScale (const V3Arg &scale) | 
|   | 
| 
Vector3f  | scale () const | 
|   | 
| 
Shape &  | setColour (const Colour &colour) | 
|   | 
| 
Colour  | colour () const | 
|   | 
| virtual void  | updateFrom (const Shape &other) | 
|   | Update the attributes of this shape to match other.  More...
  | 
|   | 
| virtual int  | writeData (PacketWriter &stream, unsigned &progressMarker) const | 
|   | Called only for complex shapes to write additional creation data.  More...
  | 
|   | 
| 
bool  | writeUpdate (PacketWriter &stream) const | 
|   | 
| 
bool  | writeDestroy (PacketWriter &stream) const | 
|   | 
| virtual bool  | isComplex () const | 
|   | Is this a complex shape? Complex shapes have writeData() called.  More...
  | 
|   | 
Represents a mesh shape. 
Requires a MeshResource parts to get represent mesh topology. The shape never owns the MeshResource parts and they must outlive the shape.