gz/rendering/Mesh.hh
STL class.
virtual std::map< std::string, math::Matrix4d > SkeletonLocalTransforms() const =0
Get the skeleton local transforms.
virtual bool HasSkeleton() const =0
Check whether the mesh has skeleton.
virtual ~SubMesh()
Deconstructor.
Definition: gz/rendering/Mesh.hh:95
virtual bool HasSubMeshName(const std::string &_name) const =0
Determine if has sub-mesh with given name.
virtual SubMeshPtr SubMeshByIndex(unsigned int _index) const =0
Get sub-mesh at given index.
Represents a collection of mesh geometries.
Definition: gz/rendering/Mesh.hh:35
virtual void SetSkeletonLocalTransforms(const std::map< std::string, math::Matrix4d > &_tfs)=0
Set transforms for the skeleton.
virtual SubMeshPtr SubMeshByName(const std::string &_name) const =0
Get sub-mesh with given name.
virtual unsigned int SubMeshCount() const =0
Get the sub-mesh count.
STL class.
virtual bool HasSubMesh(ConstSubMeshPtr _subMesh) const =0
Determine if has given sub-mesh.
virtual void SetMaterial(const std::string &_name, bool _unique=true)=0
Set the materials of this SubMesh. The specified material will be retrieved from the parent Scene....
Represents an object present in the scene graph. This includes sub-meshes, materials,...
Definition: gz/rendering/Object.hh:34
Represents a surface material of a Geometry.
Definition: gz/rendering/Material.hh:47
Represents a geometric shape to be rendered.
Definition: gz/rendering/Geometry.hh:34
virtual MaterialPtr Material() const =0
Get the currently assigned material.