Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
Arm color.
Inner radius of the arm.
Length of the stroke arm.
Outer radius of the arm.
Radius of the connectors.
Length of the connectors.
Length of the cylinder.
Outer radius of the cylinder part.
End depth of the component. See TrajectoryComponent Field indexes, Measured Depth (MD)
Length of the inner cylinder (inner stroke length).
Internal flag set if component is a Cogs Core component.
Piston length.
Piston radius.
If the joint profile should be reversed, i.e the arm after the cylinder.
Starting depth of the component. See TrajectoryComponent Field indexes, Measured Depth (MD)
Length of the arm tip.
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