1#include "ClipShapeComponent.h"
7void Cogs::Core::ClipShapeComponent::registerType()
14 TypeDatabase::createType<ClipShapeType>().setEnumerators(enums);
21 TypeDatabase::createType<ClipShapeComponent>().setBase<Component>().setFields(fields);
24void Cogs::Core::ClipShapeRefComponent::registerType()
29 TypeDatabase::createType<ClipShapeRefComponent>().setBase<Component>().setFields(fields);
glm::vec3 max
The high-end corner of cube-shapes.
ClipShapeType shape
The basic shape of the clip region.
glm::vec3 min
The low-end corner of cube-shapes.
WeakEntityPtr clipShape
Reference to the clip shape that should clip this entity.
Field definition describing a single data member of a data structure.
@ InvertedCube
Clip the inside of a cube.
@ None
No clipping at all.
@ Cube
Clip the outside of a cube,.
Contains reflection support.