Cogs.Core
InstancedModelComponent.h
1#pragma once
2
3#include "Resources/Resources.h"
4
5#include "Foundation/ComponentModel/Component.h"
6
7namespace Cogs::Core
8{
13 {
15 static void registerType();
16
19
22
25
26 bool cloneModelMaterialProperties = false;
27 };
28}
29
30template<> inline Cogs::StringView getName<Cogs::Core::InstancedModelComponent>() { return "InstancedModelComponent"; }
Base class for Component instances.
Definition: Component.h:143
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Instanced model rendering component.
MaterialInstanceHandle material
Custom material handle.
ModelHandle model
Model resource to instantiate.
static void registerType()
Register the type in the type system.