Click or drag to resize

CameraProjectionParamsProjectTo Method

Projects a screen point on a 3D plane.

Namespace:  TouchScript.Layers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public override Vector3 ProjectTo(
	Vector2 screenPosition,
	Plane projectionPlane
)

Parameters

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

Return Value

Type: Vector3
Projected point in 3D.
See Also