TDME2 1.9.121
|
Scene entity definition. More...
#include <tdme/engine/scene/SceneEntity.h>
Public Member Functions | |
SceneEntity (const string &id, const string &description, const Transformations &transformations, Prototype *prototype) | |
Public constructor. More... | |
~SceneEntity () | |
Destructor. More... | |
const string & | getId () |
void | setId (const string &id) |
Set id. More... | |
const string & | getDescription () |
void | setDescription (const string &description) |
Set description. More... | |
Transformations & | getTransformations () |
Prototype * | getPrototype () |
void | setPrototype (Prototype *prototype) |
Set up prototype. More... | |
const string & | getReflectionEnvironmentMappingId () |
void | setReflectionEnvironmentMappingId (const string &reflectionEnvironmentMappingId) |
const BaseProperties | getTotalProperties () |
![]() | |
BaseProperties (const string &name, const string &description) | |
Public constructor. More... | |
virtual | ~BaseProperties () |
Destructor. More... | |
const string & | getName () |
void | setName (const string &name) |
Set up name. More... | |
const string & | getDescription () |
void | setDescription (const string &description) |
Set up description. More... | |
void | clearProperties () |
Clears properties. More... | |
BaseProperty * | getProperty (const string &name) |
Retrieve property by name. More... | |
int | getPropertyCount () |
int | getPropertyIndex (const string &name) |
Get property index. More... | |
BaseProperty * | getPropertyByIndex (int idx) |
Get property by index. More... | |
bool | addProperty (const string &name, const string &value) |
Add a property. More... | |
bool | renameProperty (const string &oldName, const string &name) |
Rename a property. More... | |
bool | updateProperty (const string &oldName, const string &name, const string &value) |
Update a property. More... | |
bool | removeProperty (const string &name) |
Removes a property. More... | |
Private Attributes | |
Transformations | transformations |
Prototype * | prototype { nullptr } |
string | reflectionEnvironmentMappingId |
Additional Inherited Members | |
![]() | |
string | name |
string | description |
SceneEntity | ( | const string & | id, |
const string & | description, | ||
const Transformations & | transformations, | ||
Prototype * | prototype | ||
) |
Public constructor.
id | id |
description | description |
transformations | transformations |
prototype | prototype |
Definition at line 19 of file SceneEntity.cpp.
~SceneEntity | ( | ) |
Destructor.
Definition at line 25 of file SceneEntity.cpp.
|
inline |
Definition at line 63 of file SceneEntity.h.
|
inline |
Definition at line 48 of file SceneEntity.h.
|
inline |
Definition at line 85 of file SceneEntity.h.
|
inline |
Definition at line 100 of file SceneEntity.h.
const BaseProperties getTotalProperties | ( | ) |
Definition at line 28 of file SceneEntity.cpp.
|
inline |
Definition at line 78 of file SceneEntity.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 107 of file SceneEntity.h.
|
private |
Definition at line 27 of file SceneEntity.h.
|
private |
Definition at line 28 of file SceneEntity.h.
|
private |
Definition at line 26 of file SceneEntity.h.