Home > @visualization-tools/core > EntityCategory
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>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(plot, renderer, updateGroup, updateHooks) | Constructs a new instance of the EntityCategory class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| updateHooks | ICategoryUpdateHooks<IRenderer<TComponentRenderer>, TUpdateArg> |
| Method | Modifiers | Description |
|---|---|---|
| addEntity(entity, graphicsComponent, hooks) | ||
| getEntities() | ||
| removeEntity(entity) | ||
| setBufferPerEntity(enabled) |