visualization-tools

Home > @visualization-tools/core > CompositeGraphicsComponent

CompositeGraphicsComponent class

Refer to update strategy documentation for draw call behavior.

Signature:

export declare class CompositeGraphicsComponent<TComponentRenderer extends TUnknownComponentRenderer, TUpdateArg, TTraits> implements ICompositeGraphicsComponent<TComponentRenderer, TUpdateArg, TTraits>, ILinkableCompositeGraphicsComponentFactory<TComponentRenderer, TUpdateArg, TTraits> 

Implements: ICompositeGraphicsComponent<TComponentRenderer, TUpdateArg, TTraits>, ILinkableCompositeGraphicsComponentFactory<TComponentRenderer, TUpdateArg, TTraits>

Remarks

Any duplicate graphics components (by instance) will be eliminated, regardless of how nested they are.

Constructors

Constructor Modifiers Description
(constructor)(graphicsComp, groupUpdatesByEntity)   Constructs a new instance of the CompositeGraphicsComponent class

Properties

Property Modifiers Type Description
groupUpdatesByEntity   boolean  
subComponents   GraphicsSubComponents<TComponentRenderer, TUpdateArg, TTraits>  
type   (not declared)  

Methods

Method Modifiers Description
addComponent(graphicsComp)    
build()    
createOne(graphicsComp) static  
createOneLinked(graphicsComp) static  
recurseIterate(callback)    
recurseIterate(filter, callback)    
recurseIterate(filter, callback)