Defines a set of MeshResource references remote rendering.
More...
List of all members.
Detailed Description
Defines a set of MeshResource references remote rendering.
Constructor & Destructor Documentation
Tes::Shapes::MeshSet::MeshSet |
( |
uint |
id = 0 | ) |
[inline] |
Construct an empty mesh set.
- Parameters:
-
id | The shape ID. Zero for transient shapes. |
Tes::Shapes::MeshSet::MeshSet |
( |
uint |
id, |
|
|
ushort |
category |
|
) |
| [inline] |
Construct an empty mesh set.
- Parameters:
-
id | The shape ID. Zero for transient shapes. |
category | Category to which the shape belongs. |
Member Function Documentation
Add a part to the mesh set.
- Parameters:
-
part | The mesh resource to add. |
transform | The local transform for part . |
- Returns:
- This
Add a part to the mesh set with an identity local transformation.
- Parameters:
-
part | The mesh resource to add. |
- Returns:
- This
override object Tes::Shapes::MeshSet::Clone |
( |
| ) |
[inline, virtual] |
Clone this shape.
- Returns:
- A deep copy of this object.
Reimplemented from Tes::Shapes::Shape.
void Tes::Shapes::MeshSet::OnClone |
( |
MeshSet |
copy | ) |
[inline, protected] |
Overridden to copy mesh parts.
- Parameters:
-
MeshResource Tes::Shapes::MeshSet::PartAt |
( |
int |
index | ) |
[inline] |
Access a mesh resource path.
- Parameters:
-
- Returns:
- The requested part.
Matrix4 Tes::Shapes::MeshSet::PartTransformAt |
( |
int |
index | ) |
[inline] |
Request the transformation for a part.
- Parameters:
-
- Returns:
- The requested part transformation matrix.
override bool Tes::Shapes::MeshSet::WriteCreate |
( |
PacketBuffer |
packet | ) |
[inline, virtual] |
Override to write part details.
- Parameters:
-
packet | Packet buffer to write to. |
- Returns:
- true on success.
Reimplemented from Tes::Shapes::Shape.
The documentation for this class was generated from the following file: