#include <scene_object_behaviour.h>
Appliaction scene scriptable object class.
Definition at line 16 of file scene_object_behaviour.h.
◆ AddComponent()
template<typename T , typename... Targs>
void scl::scene_object_behaviour::AddComponent |
( |
Targs &&... |
Args | ) |
|
|
inlineprotected |
- Add component to object function.
- Template Parameters
-
component | to add to object. |
- Parameters
-
- Returns
- None.
Definition at line 67 of file scene_object_behaviour.h.
decltype(auto) AddComponent(Targs &&... Args)
◆ GetComponent() [1/2]
template<typename T >
T & scl::scene_object_behaviour::GetComponent |
( |
| ) |
|
|
inlineprotected |
- Get object component function.
- Template Parameters
-
component | to get from object. |
- Parameters
-
- Returns
- None.
Definition at line 77 of file scene_object_behaviour.h.
◆ GetComponent() [2/2]
template<typename T >
const T & scl::scene_object_behaviour::GetComponent |
( |
| ) |
const |
|
inlineprotected |
- Get object component function.
- Template Parameters
-
component | to get from object. |
- Parameters
-
- Returns
- None.
Definition at line 87 of file scene_object_behaviour.h.
◆ HasComponent()
template<typename T >
const bool scl::scene_object_behaviour::HasComponent |
( |
| ) |
const |
|
inlineprotected |
- Check if object has specified component function.
- Template Parameters
-
- Parameters
-
- Returns
- None.
Definition at line 57 of file scene_object_behaviour.h.
const bool HasComponent() const
◆ OnCreate()
virtual void scl::scene_object_behaviour::OnCreate |
( |
| ) |
|
|
inlineprotectedvirtual |
- Application scene scriptable object creation virtual callback function. Called when object added to scene.
- Parameters
-
- Returns
- None.
Definition at line 31 of file scene_object_behaviour.h.
◆ OnDestroy()
virtual void scl::scene_object_behaviour::OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
- Application scene scriptable object destroy virtual callback fucntion.
- Parameters
-
- Returns
- None.
Definition at line 39 of file scene_object_behaviour.h.
◆ OnUpdate()
virtual void scl::scene_object_behaviour::OnUpdate |
( |
| ) |
|
|
inlineprotectedvirtual |
- Application scene scriptable object update virtual callback function.
- Parameters
-
- Returns
- None.
Definition at line 47 of file scene_object_behaviour.h.
◆ RemovetComponent()
template<typename T >
void scl::scene_object_behaviour::RemovetComponent |
( |
| ) |
|
|
inlineprotected |
- Remove component from scene object function.
- Template Parameters
-
component | to remove from object. |
- Parameters
-
- Returns
- None.
Definition at line 97 of file scene_object_behaviour.h.
◆ scene
The documentation for this class was generated from the following file: