gz/rendering/Geometry.hh
Go to the documentation of this file.
Represents a geometric shape to be rendered.
Definition: gz/rendering/Geometry.hh:36
virtual void SetMaterial(const std::string &_name, bool _unique=true)=0
Set the materials of this Geometry. The specified material will be retrieved from the parent Scene....
virtual bool HasParent() const =0
Determine if this Geometry is attached to a Visual.
virtual void SetMaterial(MaterialPtr _material, bool _unique=true)=0
Set the materials of this Geometry.
virtual MaterialPtr Material() const =0
Get the material of this geometry.
virtual ~Geometry()
Deconstructor.
Definition: gz/rendering/Geometry.hh:38
virtual void RemoveParent()=0
Detach this Geometry from its parent Visual. If this Geometry does not have a parent,...
Represents an object present in the scene graph. This includes sub-meshes, materials,...
Definition: gz/rendering/Object.hh:35