|
RavEngine
|
Public Member Functions | |
| StaticMesh (Entity owner, Ref< MeshCollectionStatic > m, decltype(material) mat) | |
| MOVE_NO_COPY (StaticMesh) | |
| auto | GetMesh () const |
| void | SetMaterial (decltype(material) mat) |
| auto | GetMaterial () const |
| void | SetEnabled (bool) |
Public Member Functions inherited from RavEngine::ComponentWithOwner | |
| ComponentWithOwner (const decltype(owner) o) | |
| Entity | GetOwner () const |
Public Member Functions inherited from Disableable | |
| decltype(Enabled) | GetEnabled () const |
| void | SetEnabled (decltype(Enabled) in) |
Additional Inherited Members | |
Protected Attributes inherited from RavEngine::ComponentWithOwner | |
| Entity | owner |
|
inline |
|
inline |
Assign a material to this staticmesh
| mat | the material instance to assign |