Protected
constructorGets the Collection storing user added components
Gets the Cogs EntityID of the Entity
Exposes material properties for legacy entities and code.
Gets the Entity name. Empty string if not defined.
Sets the optional Entity name, renames existing entity
Contains information on how the entity behaves in the scene.
Defines a 4x4 transformation matrix for the entity and a global offset for root entities.
Gets the Entity Type, g.g. 'Group', 'Cube' etc.
Compare two entities for equality. Picking or wrapping entities are not guaranteed to return same object.
Entity to compare with.
True if same entity ID and belongs to same Cogs instance.
Get component of given type. Type param is deduced from parameter componentType. Must call: const xc = entity.getComponent(runtime.TransformComponent);
Type returned. Not given. Calculated from the componentType parameter.
Type to get, e.g. runtime.TransformComponent
actual component or null if not member.
CogsInternal: Release on Entity destroy.
Entity in Extension AxisCube