Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Entities::SpawnContext Struct Reference

Scene ownership data passed to actor and component constructors during spawning. More...

#include <SpawnContext.h>

Collaboration diagram for Engine::Entities::SpawnContext:

Public Attributes

std::shared_ptr< SceneNodesceneNode = nullptr
 Scene node created for the spawned entity.
SceneowningScene = nullptr
 Scene that owns the spawned entity.

Detailed Description

Scene ownership data passed to actor and component constructors during spawning.

Definition at line 13 of file SpawnContext.h.

Member Data Documentation

◆ owningScene

Scene* Engine::Entities::SpawnContext::owningScene = nullptr

Scene that owns the spawned entity.

Definition at line 23 of file SpawnContext.h.

◆ sceneNode

std::shared_ptr<SceneNode> Engine::Entities::SpawnContext::sceneNode = nullptr

Scene node created for the spawned entity.

Definition at line 18 of file SpawnContext.h.


The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Entity/SpawnContext.h