Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
StaticMeshActor.cpp
Go to the documentation of this file.
3
4namespace EngineCore
5{
7 const std::shared_ptr<EngineCore::SceneNode> &node,
9 Asset::Path meshPath
10 )
11 : Actor( node, owningScene )
12 {
15 data,
16 meshPath,
17 node // SceneNode
18 );
19 }
20} // namespace EngineCore
friend class Scene
Definition Actor.h:25
Actor(std::shared_ptr< SceneNode > sceneNode, Scene *owningScene)
Definition Actor.cpp:13
Scene * owningScene
Definition Actor.h:149
entt::entity data
Definition Entity.h:177
T * addComponent(Args &&... args)
Adds a component to the entity. Checks for uniqueness if the component defines 'static constexpr bool...
Definition Entity.h:44
StaticMeshActor(const std::shared_ptr< EngineCore::SceneNode > &node, Scene *owningScene, Asset::Path meshPath)
Log category system implementation.