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 factorfor Markers at the back of the view frustum and range.high is the scale factor at the front of the view frustum. |
Returns - void
Defined in
- core/frontend/src/Marker.ts Line 155
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.