Gets the Collection storing user added components
Gets the Cogs EntityID of the Entity
Exposes material properties for legacy entities and code.
Contains a handle to a Mesh resource to use when rendering using the MeshRenderComponent.
Gets the Entity name. Empty string if not defined.
Sets the optional Entity name, renames existing entity
Component returning information of the Reservoir case opened in the Entity.
Graphics for Reservoir data display. Draws full volume or a I/J/K section of the reservoir.
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 for Reservoir display