CameraBase.Project (RenderContextBase, Double(), Int32(), Double, Double, Double, out Double, out Double, out Double) Method

Maps world coordinates to screen coordinates.
Protected Friend Shared Function Project( _ 
ByVal renderContext As RenderContextBase, _ 
ByVal modelViewProj As Double(), _ 
ByVal viewFrame As Integer(), _ 
ByVal objx As Double, _ 
ByVal objy As Double, _ 
ByVal objz As Double, _ 
ByRef winx As Double, _ 
ByRef winy As Double, _ 
ByRef winz As Double
) As Boolean
This language is not supported or no code example is available.
internal protected static bool Project( 
RenderContextBase renderContext
double[] modelViewProj
int[] viewFrame
double objx
double objy
double objz
out double winx
out double winy
out double winz 
)
This language is not supported or no code example is available.

Parameters

renderContext
RenderContextBase

The rendering context

modelViewProj
double[]

The modelview projection matrix

viewFrame
int[]

The viewport bounds

objx
double

The world X coordinate

objy
double

The world Y coordinate

objz
double

The world Z coordinate

winx
double

The computed window X coordinate

winy
double

The computed window Y coordinate

winz
double

The computed window Z coordinate

Return Value

bool

True if the operation succeeded, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition