Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
Internal flag set if component is a Cogs Core component.
Overrides camera's near-plane limit when calculating the frustum. Set to NaN to disable.
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
Contains data to describe fog. Currently only supports one fog component, defined as the global fog of the context.