visualization-tools

Home > @visualization-tools/core > EntityCategory

EntityCategory class

Implementation of IEntityCategory, handles initialization of graphics components.

Signature:

export declare class EntityCategory<TComponentRenderer extends TUnknownComponentRenderer, TUpdateArg, TRequiredTraits> implements IEntityCategory<TComponentRenderer, TUpdateArg, TRequiredTraits> 

Implements: IEntityCategory<TComponentRenderer, TUpdateArg, TRequiredTraits>

Constructors

Constructor Modifiers Description
(constructor)(plot, renderer, updateGroup, updateHooks)   Constructs a new instance of the EntityCategory class

Properties

Property Modifiers Type Description
updateHooks   ICategoryUpdateHooks<IRenderer<TComponentRenderer>, TUpdateArg>  

Methods

Method Modifiers Description
addEntity(entity, graphicsComponent, hooks)    
getEntities()    
removeEntity(entity)    
setBufferPerEntity(enabled)