Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
Radius of the connectors.
Length of the connectors.
End depth along trajectory. See TrajectoryComponent Field indexes, Measured Depth (MD)
Inner radius of the joint.
Internal flag set if component is a Cogs Core component.
Outer radius of the joint.
Start depth along trajectory. See TrajectoryComponent Field indexes, Measured Depth (MD)
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