Scene - environment objects that belongs to the Manager Graph. More...
Public Member Functions | |
| _FORCEINLINE bool | active () |
| State of action events. | |
| CSAD_API Camera * | createCamera (char *name, Transform *parent=0) |
| creates the camera object, and returns it to the component. | |
| CSAD_API Camera * | createCamera (const char *name="", Transform *parent=0) |
| creates the camera object, and returns it to the component, with out of name. | |
| CSAD_API Transform * | createTransform (char *name, Transform *parent=0) |
| creates the object position. | |
| CSAD_API Transform * | createTransform (const char *name="", Transform *parent=0) |
| creates the object position, with out of name. | |
| CSAD_API void | detachObject (Transform *transform) |
| detach current object position. | |
| CSAD_API Camera * | getCamera (char *name) |
| returns the camera component. | |
| _FORCEINLINE ObjectsList & | getMapObjects () |
| returns a named list of objects. | |
| CSAD_API const char * | getName () |
| return scene name | |
| _FORCEINLINE Transform * | getRoot () |
| returns the root object. | |
| CSAD_API Transform * | getTransform (char *name) |
| restores the dependent object by name. | |
| CSAD_API void * | set (unsigned _int32, void *) |
| used for any interface commands. | |
| CSAD_API void | setActive (bool) |
| Activate scene in events. | |
Public Member Functions inherited from csad::BaseObject | |
| _FORCEINLINE bool | isContainer () |
| returns true if the object is a container. | |
| _FORCEINLINE ParametersList * | read (ParametersList *data) |
| read attributes object. | |
| _FORCEINLINE void * | type () |
| the output pointer to the typeid() of the class. | |
| _FORCEINLINE void | write (ParametersList *data) |
| record attributes of the object. | |
Static Public Member Functions | |
| static Scene * | getDefault () |
| the active scene | |
Additional Inherited Members | |
Public Types inherited from csad::BaseObject | |
| enum | BASE { ANY = 0x00000000, EVENT = 0x00000001, TYPE = 0x00000002, CONTAINER = 0x00000003, MANAGER_COUNT = 0x00000004, MANAGER = 0x00000005, WRITE = 0x00000006, READ = 0x00000007, SELECT = 0x00000008, RUN = 0x00000009, LIST = 0x0000000A, LIST_COUNT = 0x0000000B, NAME = 0x0000000C, CHILD_NAME = 0x0000000D } |
| the basic format of the interface More... | |
Scene - environment objects that belongs to the Manager Graph.
The hierarchical model consisting of objects Transform.
For description in the configuration:
<Scene name="the name of the scene"> ... internal objects ... </Scene>
1.8.4