|
Engine²
Open-source game engine written in C++.
|
#include <Shape.hpp>
Public Member Functions | |
| Shape ()=default | |
| ~Shape ()=default | |
| Shape (Shape &&other)=default | |
| Shape & | operator= (Shape &&other)=default |
| Shape (const Shape &other)=default | |
| Shape & | operator= (const Shape &other)=default |
| Component::Mesh & | GetMesh () |
| Get the Mesh object of the shape. | |
| const Component::Mesh & | GetMesh () const |
| Get the Mesh object of the shape (const version). | |
| Component::Material & | GetMaterial () |
| Get the Material object of the shape. | |
| const Component::Material & | GetMaterial () const |
| Get the Material object of the shape (const version). | |
| const std::string & | GetName () const |
| Get the name of the shape. | |
Public Attributes | |
| Component::Mesh | mesh {} |
| Component::Material | material {} |
| std::string | name {} |
Shape structure.
This structure is used to represent a shape. It contains the mesh and material of the shape.
|
default |
|
default |
|
default |
|
default |
|
inline |
Get the Material object of the shape.
|
inline |
Get the Material object of the shape (const version).
|
inline |
Get the Mesh object of the shape.
|
inline |
Get the Mesh object of the shape (const version).
|
inline |
Get the name of the shape.
| Component::Material Object::Resource::Shape::material {} |
| Component::Mesh Object::Resource::Shape::mesh {} |
| std::string Object::Resource::Shape::name {} |