visualization-tools

Home > @visualization-tools/cartesian-2d > GlPoint2dGraphicsComponent

GlPoint2dGraphicsComponent class

Draws points of varying sizes and colors.

Signature:

export declare class GlPoint2dGraphicsComponent<TUpdateArg extends IUpdateArg> implements ILinkableGraphicsComponent<TGl2ComponentRenderer, TUpdateArg, TInterleavedPoint2dTrait<Float32Array>> 

Implements: ILinkableGraphicsComponent<TGl2ComponentRenderer, TUpdateArg, TInterleavedPoint2dTrait<Float32Array>>

Constructors

Constructor Modifiers Description
(constructor)(cameraBinder, indexedBinder)   Constructs a new instance of the GlPoint2dGraphicsComponent class

Properties

Property Modifiers Type Description
specification   IGlProgramSpec  
transform   GlTransformProvider<TGl2ComponentRenderer, IGlIndexedPoint2dTransformBinder<Float32Array>, TUpdateArg, TInterleavedPoint2dTrait<Float32Array>>  
type   (not declared)  

Methods

Method Modifiers Description
getCacheId()    
getLinkableBinders()    
initialize(componentRenderer)    
onBeforeUpdate(componentRenderer, updateArg)    
update(entity, componentRenderer, updateArg)