Viewport.ScreenToPlane (Point, Plane, out Point3D) Method

Maps screen coordinates to world coordinates.
Public Function ScreenToPlane( _ 
ByVal mousePos As Point, _ 
ByVal plane As Plane, _ 
ByRef intPoint As Point3D
) As Boolean
This language is not supported or no code example is available.
public bool ScreenToPlane( 
Point mousePos
Plane plane
out Point3D intPoint 
)
This language is not supported or no code example is available.

Parameters

mousePos
Point

Mouse cursor position (zero on top)

plane
Plane

The plane

intPoint
Point3D

The intersection point. null/Nothing if the plane perpendicular to the screen.

Return Value

bool

True if the mapping succeeded, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition