Camera.ScreenToPlane (Point, Plane, Int32, Int32(), out Point3D) Method

Maps screen coordinates to world coordinates.
Public Function ScreenToPlane( _ 
ByVal mousePos As Point, _ 
ByVal plane As Plane, _ 
ByVal controlHeight As Integer, _ 
ByVal viewFrame As Integer(), _ 
ByRef intPoint As Point3D
) As Boolean
This language is not supported or no code example is available.
public bool ScreenToPlane( 
Point mousePos
Plane plane
int controlHeight
int[] viewFrame
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

controlHeight
int

The height of the viewport layout control

viewFrame
int[]

The viewport coordinates

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