Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
Offset of bottom from trajectory position.
Length of the cylinder base part (measured from the start of the cylinder).
Radius of the cylinder base.
Length of the cylinder head part (measured from the end of the cylinder).
Radius of the cylinder head.
Inner radius of the cylinder.
Length of the entire outer cylinder.
Radius of the main part of the outer cylinder.
End depth along trajectory. See TrajectoryComponent Field indexes, Measured Depth (MD)
Internal flag set if component is a Cogs Core component.
Length of the rod.
Rod material.
Radius of the rod.
Start depth along trajectory. See TrajectoryComponent Field indexes, Measured Depth (MD)
Offset of top from trajectory position.
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