visualization-tools

Home > @visualization-tools/core > IEntityCategoryWrite

IEntityCategoryWrite interface

The mutative methods of an IEntityCategory.

Signature:

export interface IEntityCategoryWrite<TComponentRenderer extends TUnknownComponentRenderer, TUpdateArg, TRequiredTraits> 

Methods

Method Description
addEntity(entity, graphicsComponent, hooks)  
removeEntity(entity)  
setBufferPerEntity(enabled) Entities that are added after this has been enabled will receive a buffer layout per ITransformProvider.groupId. This can provide a substantial performance increase in conjunction with transforms, in exchange increased memory usage.