Click or drag to resize

ProjectionUtilsScreenToPlaneProjection Method

Projects a screen point to a plane using parallel projection.

Namespace:  TouchScript.Utils.Geom
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static Vector3 ScreenToPlaneProjection(
	Vector2 position,
	Plane projectionPlane
)

Parameters

position
Type: Vector2
Screen point.
projectionPlane
Type: Plane
Projection plane.

Return Value

Type: Vector3
Projected point on the plane in World coordinates.
See Also