getDecorationGeometry Method

Called to allow snapping to pickable decoration geometry.

getDecorationGeometry(_hit: HitDetail): GeometryStreamProps | undefined

note Snap geometry can be different from decoration geometry (ex. center point of a + symbol). Valid decoration geometry for snapping should be "stable" and not change based on the current cursor location.

Parameter Type Description
_hit HitDetail  

Defined in

Last Updated: 13 October, 2019