visualization-tools

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

GlCaplessLineGraphicsComponent class

Draws lines without caps, without generating any intermediate geometry. Caps can be added by combining with a cap drawing component. Handles sizes and colors per point.

Signature:

export declare class GlCaplessLineGraphicsComponent implements ILinkableGraphicsComponent<TGl2ComponentRenderer, ICartesian2dUpdateArg<Float32Array>, TInterleavedPoint2dTrait<Float32Array>> 

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

Constructors

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

Properties

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

Methods

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