setScaleFactor Method

Establish a range of scale factors to increases and decrease the size of this Marker based on its distance from the camera.

setScaleFactor(range: Range1dProps): void

note Marker size scaling is only applied in views with the camera enabled. It has no effect on orthographic views.

Parameter Type Description
range Range1dProps The minimum and maximum scale factors to be applied to the size of this Marker based on its distance from the camera. range.Low is the scale factor
for Markers at the back of the view frustum and range.high is the scale factor at the front of the view frustum.

Defined in

Last Updated: 20 September, 2019