![]() |
ufe
4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Abstract base class for Material interface. More...
#include <material.h>
Public Types | |
typedef std::shared_ptr< Material > | Ptr |
Public Member Functions | |
Material () | |
Constructor. More... | |
Material (const Material &)=default | |
Default copy constructor. More... | |
virtual | ~Material () |
Destructor. More... | |
virtual std::vector< SceneItem::Ptr > | getMaterials () const =0 |
Returns all the materials assigned to this scene item. More... | |
Static Public Member Functions | |
static Ptr | material (const SceneItem::Ptr &item) |
Abstract base class for Material interface.
This base class defines the interface that runtimes can implement to provide basic material behavior, e.g. querying the materials assigned to a SceneItem.
To avoid the memory-consuming "one proxy object per scene object" approach, Material interface objects should be obtained and used within a local scope, and not stored. Material interfaces should be considered stateless, and can be bound to new selection items.
Definition at line 31 of file material.h.
typedef std::shared_ptr<Material> Ufe::Material::Ptr |
Definition at line 34 of file material.h.
Ufe::Material::Material | ( | ) |
Constructor.
|
default |
Default copy constructor.
|
virtual |
Destructor.
|
pure virtual |
Returns all the materials assigned to this scene item.
|
static |