createGraphicAndUpdateDynamics Method

Call to request a RenderGraphic for the supplied geometry and trigger a dynamic update upon fulfillment.

createGraphicAndUpdateDynamics(ev: BeButtonEvent, categoryId: string, placement: PlacementProps, geometry: JsonGeometryStream | FlatBufferGeometryStream): void

@note May be useful to update a dynamic preview outside of normal button and motion events, ex. modifier key change.

@see cleanupGraphic Must be called when the tool exits.

Parameter Type Description
ev BeButtonEvent  
categoryId string  
placement PlacementProps  
geometry JsonGeometryStream | FlatBufferGeometryStream  

Returns - void

Defined in

Last Updated: 21 November, 2024