Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
StaticMeshActor.h
Go to the documentation of this file.
1#pragma once
6
7namespace Engine::Entities
8{
13 class StaticMeshActor : public Actor
14 {
15 public:
17 const SpawnContext & context,
18 Asset::MeshPath meshPath
19 );
20
22 const SpawnContext & context,
24 );
25
27 const SpawnContext & context,
29 );
30
31 private:
33 };
34} // namespace EngineCore
Mesh component that can create and own collision shapes for its actor.
Actor(const SpawnContext &context)
StaticMeshActor(const SpawnContext &context, Asset::MeshPath meshPath)
Components::CollidableMesh * meshComponent_
StaticMeshActor(const SpawnContext &context, Assets::GltfRenderableHandle renderable)
StaticMeshActor(const SpawnContext &context, Assets::GeometryMeshHandle mesh)
AssetHandle< GltfRenderableHandleTag > GltfRenderableHandle
AssetHandle< GeometryMeshHandleTag > GeometryMeshHandle
Identifies a named mesh-like asset inside an asset file.
Definition AssetPath.h:40
Scene ownership data passed to actor and component constructors during spawning.