1#include "SpriteRenderComponent.h"
7void Cogs::Core::SpriteRenderComponent::registerType()
18 {
"Local", PositionMode::Local },
21 TypeDatabase::createType<SizeMode>().setEnumerators(sizeModes);
22 TypeDatabase::createType<PositionMode>().setEnumerators(positionModes);
24 TypeDatabase::createType<SpriteRenderComponent>().setBase<RenderComponent>();
@ Relative
Position given in normalized device coordinates, with [-1, -1] corresponding to the lower left of the...
@ Pixels
Position given in screen pixels ranging from [0, 0] in the lower left corner to [viewport....
@ World
Position given in world space coordinates.
@ Relative
Size given in normalized device coordinates.
@ Pixels
Size given in screen pixels.
Contains reflection support.