Camera.WorldToScreen (Point3D, Int32()) Method

Maps world coordinates to screen mouse coordinates.
Public Function WorldToScreen( _ 
ByVal point As Point3D, _ 
ByVal viewFrame As Integer() _ 
) As Point3D
This language is not supported or no code example is available.
public Point3D WorldToScreen( 
Point3D point
int[] viewFrame 
)
This language is not supported or no code example is available.

Parameters

point
Point3D

The 3D point to project on screen

viewFrame
int[]

The viewport coordinates

Return Value

Point3D

The associated projected screen point relative to the viewport (zero on bottom)

Remarks
 
The z-component of the returned point is in the normalized device coordinate space [0,1]. A value outside the [0,1] range means that the point is outside the near-far clipping planes of the camera.

.NET Framework

Supported in: 4.8

In this article

Definition