Converts the view coordinates to world coordinates using intersection of the ray coming from the observer to the world space.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public Vector3 Convert2DTo3D(
	Point point,
	out float distance
)

Parameters

point
Type: System.Drawing..::.Point
The view coordinates.
distance
Type: System..::.Single %
Receives the distance from the observer to the first sprite XSprite intersected by the ray.

Return Value

Returns coordinates in the space.

See Also