Vulkan Schnee
0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
SpawnContext.h
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:27
Engine::Entities::Scene
Owns scene entities, actor lifetime, and the scene graph root.
Definition
Scene.h:84
Engine::Entities
Definition
CollisionComponent.h:14
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
workspace
magerbeton
gl3-vulkan
code
Engine
include
Engine
Entity
SpawnContext.h
Generated by
1.14.0