3#include "Foundation/ComponentModel/Component.h"
13 ExtrusionComponent() : radius(1.0f), diameterScale(1.0f), numSegments(32), highlightStart(0), highlightEnd(0), active(
true) {}
15 std::shared_ptr<ComponentModel::Entity> trajectory;
16 std::shared_ptr<ComponentModel::Entity> extrusion;
17 std::shared_ptr<ComponentModel::Entity> dataSet;
18 std::shared_ptr<ComponentModel::Entity> colorMap;
24 bool coverEntireTrajectory =
true;
25 float startDepth = 0.0f;
26 float endDepth = 1.0f;
28 std::shared_ptr<ComponentModel::Entity> highlightTarget;
34 static void registerType();
39template<>
inline Cogs::StringView getName<Cogs::Core::ExtrusionComponent>() {
return "ExtrusionComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.