Cogs.Core
NearLimitComponent.cpp
1#include "NearLimitComponent.h"
2
3#include "Types.h"
4
5using namespace Cogs::Reflection;
6
8{
9 Field fields[] = {
11 };
12
13 Method methods[] = {
14 Method(Name("update"), &NearLimitComponent::update)
15 };
16
17 DynamicComponent::registerDerivedType<NearLimitComponent>()
18 .setFields(fields)
19 .setMethods(methods);
20}
21
22void Cogs::Core::NearLimitComponent::update()
23{
24
25}
static void registerType()
Register the type in the type system.
float nearPlaneLimit
Overrides camera's near-plane limit when calculating the frustum. Set to NaN to disable.
Field definition describing a single data member of a data structure.
Definition: Field.h:68
Simple method definition.
Definition: Method.h:72
Contains reflection support.
Definition: Component.h:11
Represents an unique name.
Definition: Name.h:70