Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
SpawnContext.h
Go to the documentation of this file.
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:18
A scene is the overarching structure which can spawn, contain and destroy actors or entities.
Definition Scene.h:62
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.