class
#include <OE/Engine/SceneObject.hpp>
SceneObject
Contents
Base classes
- class Object
Constructors, destructors, conversion operators
Public functions
- auto GetScene() const -> WeakPtr<Scene>
- auto GetParent() const -> WeakPtr<SceneObject>
- auto GetName() const -> std::string
- auto GetChild(int i) const -> WeakPtr<SceneObject>
- auto GetChildCount() const -> int
- auto GetComponent(int i) const -> WeakPtr<Component>
- auto GetComponentCount() const -> int
- auto AddChildren() -> WeakPtr<SceneObject>
-
template<typename T>auto AddComponent() -> WeakPtr<T>
- void SetName(const std::string& name)
- void SetParent(WeakPtr<SceneObject> parent, int position = 99999999)