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
5
namespace
Engine::Entities
6
{
7
class
Scene
;
8
class
SceneNode
;
9
13
struct
SpawnContext
14
{
18
std::shared_ptr<SceneNode>
sceneNode
=
nullptr
;
19
23
Scene
*
owningScene
=
nullptr
;
24
};
25
}
Engine::Entities::SceneNode
Represents a node in the scene graph, containing information about its position, rotation,...
Definition
SceneGraph.h:18
Engine::Entities::Scene
A scene is the overarching structure which can spawn, contain and destroy actors or entities.
Definition
Scene.h:62
Engine::Entities
Definition
CollisionComponent.h:11
Engine::Entities::SpawnContext
Scene ownership data passed to actor and component constructors during spawning.
Definition
SpawnContext.h:14
Engine::Entities::SpawnContext::owningScene
Scene * owningScene
Scene that owns the spawned entity.
Definition
SpawnContext.h:23
Engine::Entities::SpawnContext::sceneNode
std::shared_ptr< SceneNode > sceneNode
Scene node created for the spawned entity.
Definition
SpawnContext.h:18
Engine
include
Engine
Entity
SpawnContext.h
Generated by
1.14.0