Environment.ScreenToPlane (Point, PlaneEquation, Point3D) Method

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

Parameters

mousePos
Point

Mouse cursor position (zero on top)

pe
PlaneEquation

The plane equation

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.5, 4.6, 4.7

In this article

Definition