Internal: Component constructor
type of the component. Ex. "TransformComponent"
Owning entity. Entity only passed when wrapping existing entity.
Points inner color.
Don't display points further than this distance from the camera.
Internal flag set if component is a Cogs Core component.
Don't display points closer than this distance from the camera.
Outline size.
Points outline color.
Points size.
(Contents: vec3[]) Marker points positions.
Specify the shape of the points.
Smooth out the point edges.
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
! Generate a set of points for the given position array.