Cogs.Core
StaticModelComponent.cpp
1#include "StaticModelComponent.h"
2
3#include "Types.h"
4
5using namespace Cogs::Reflection;
6
7void Cogs::Core::StaticModelComponent::registerType()
8{
9 Field fields[] = {
10 { "model", &StaticModelComponent::model },
11 };
12
13 TypeDatabase::createType<StaticModelComponent>().setBase<Component>().setFields(fields);
14}
Field definition describing a single data member of a data structure.
Definition: Field.h:68
Contains reflection support.
Definition: Component.h:11