Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
Clockwise rotation from grid north in radians, per sample.
One color per radius value, only used if set.
Color gradient. Always required for now.
Color for drawing high side indicator.
Index of sector to use for finding radius.
Height of high side indicator.
Positive values interpreted as down, per sample.
Measured depth per sample.
Internal flag set if component is a Cogs Core component.
Automatically use min/max radius (from buffer) with gradient.
Center position for each sample.
Manual max radius for gradient. Radius get clamped if higher.
Manual min radius for gradient. Radius get clamped if lower.
One radius per sector (sectors = radiuses/samples). Clockwise order from top/high side when looking down the trajectory.
Gets the optional owning entity
Component name == type. For compatibility
Gets the type of the component. Ex. "TransformComponent", "SceneComponent" etc.
Static
createInternal: Creates a new component of the given type (name). Component is wrapped when adding to an entity.
Type of the component. Ex. "TransformComponent"
Created Cogs.js component.
Static
wrap
Component in Extension Drilling