10 #include <3esmatrix4.h> 27 MeshSet(uint32_t
id = 0u, uint16_t category = 0u,
int partCount = 0);
39 int partCount()
const;
53 const Matrix4f &partTransform(
int index)
const;
60 int enumerateResources(
const Resource **resources,
int capacity,
int fetchOffset = 0)
const override;
64 Shape *clone()
const override;
67 void onClone(
MeshSet *copy)
const;
80 _transforms[index] = transform;
void setPart(int index, const MeshResource *part, const Matrix4f &transform)
Set the part at the given index.
Definition: 3esmeshset.h:77
A base class for encapsulating a shape which is to be represented remotely.
Definition: 3esshape.h:39
A row major 4x4 transformation matrix.
Definition: 3esmatrix4.h:27
Definition: 3esbounds.h:13
The Resource base class defines an interface for any resource used by Shape objects such as MeshSet...
Definition: 3esresource.h:34
Represents a mesh part or object.
Definition: 3esmeshresource.h:16
const MeshResource * partAt(int index) const
Fetch the part at the given index.
Definition: 3esmeshset.h:83
Represents a mesh shape.
Definition: 3esmeshset.h:20
int partCount() const
Get the number of parts to this shape.
Definition: 3esmeshset.h:75
const Matrix4f & partTransform(int index) const
Fetch the transform for the part at the given index.
Definition: 3esmeshset.h:85
A utility class for writing payload data to a PacketHeader.
Definition: 3espacketwriter.h:34