OrbitEngine::Engine::SceneObject class

Base classes

class Object

Constructors, destructors, conversion operators

SceneObject()
~SceneObject()

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)