Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
SpawnContext.h
1#pragma once
2
3#include <memory>
4
5namespace Engine::Entities
6{
7 class Scene;
8 class SceneNode;
9
14 {
18 std::shared_ptr<SceneNode> sceneNode = nullptr;
19
23 Scene* owningScene = nullptr;
24 };
25}
Represents a node in the scene graph, containing information about its position, rotation,...
Definition SceneGraph.h:27
Owns scene entities, actor lifetime, and the scene graph root.
Definition Scene.h:84
Scene ownership data passed to actor and component constructors during spawning.
Scene * owningScene
Scene that owns the spawned entity.
std::shared_ptr< SceneNode > sceneNode
Scene node created for the spawned entity.