ProjectionUtilsCameraToPlaneProjection Method |
Projects a screen point to a plane from a camera's point of view.
Namespace:
TouchScript.Utils.Geom
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static Vector3 CameraToPlaneProjection(
Vector2 position,
Camera camera,
Plane projectionPlane
)
Parameters
- position
- Type: Vector2
Screen point. - camera
- Type: Camera
The camera. - projectionPlane
- Type: Plane
Projection plane.
Return Value
Type:
Vector3Projected point on the plane in World coordinates.
See Also