Click or drag to resize
AB4D logo

LineSelectorDataCalculateScreenSpacePositions(BaseCamera) Method

CalculateScreenSpacePositions method converts the 3D line positions into 2D positions that can be used for calculating distance to specified 2D position. This method must be called before GetClosestDistance(Point) or GetClosestDistance(Point, Int32) can be called. This method can be called only on the UI thread. To call this method in multiple threads, use the method override that takes Matrix3D and Transform3D as parameters.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public void CalculateScreenSpacePositions(
	BaseCamera camera
)

Parameters

camera  BaseCamera
Camera from Ab3d.PowerToys library
See Also