3#include "Foundation/ComponentModel/Component.h"
34 static void registerType();
39template<>
inline Cogs::StringView getName<Cogs::Core::MarkerPointSetShape>() {
return "MarkerPointSetShape"; }
41template<>
inline Cogs::StringView getName<Cogs::Core::MarkerPointSetComponent>() {
return "MarkerPointSetComponent"; }
Base class for Component instances.
! Generate a set of points for the given position array.
float farDistance
Don't display points further than this distance from the camera.
MarkerPointSetShape shape
Specify the shape of the points.
glm::vec4 outlineColor
Points outline color.
bool smooth
Smooth out the point edges.
float nearDistance
Don't display points closer than this distance from the camera.
std::vector< glm::vec3 > positions
Marker points positions.
float pointSize
Points size.
glm::vec4 diffuseColor
Points inner color.
float outline
Outline size.
Provides a weakly referenced view over the contents of a string.
@ ViewAlignedDisc
Point is a flat disc aligned with the main camera view.
@ ObjectSpaceFloorDisc
Point is a flat disc on the XY-plane, point size is object-space diameter of disc.
@ FixedScreenSizeDisc
Point is a screen-space disc, point size is screen-space diameter of disc, won't work with multiple c...
Contains all Cogs related functionality.