Android.Opengl.GLU.GluProject Method
Map object coordinates into window coordinates. gluProject transforms the specified object coordinates into window coordinates using model, proj, and view.

Syntax

[Android.Runtime.Register("gluProject", "(FFF[FI[FI[II[FI)I", "")]
public static int GluProject (float objX, float objY, float objZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] win, int winOffset)

Parameters

objX
object coordinates X
objY
object coordinates Y
objZ
object coordinates Z
model
the current modelview matrix
modelOffset
the offset into the model array where the modelview maxtrix data starts.
project
the current projection matrix
projectOffset
the offset into the project array where the project matrix data starts.
view
the current view, {x, y, width, height}
viewOffset
the offset into the view array where the view vector data starts.
win
the output vector {winX, winY, winZ}, that returns the computed window coordinates.
winOffset
the offset into the win array where the win vector data starts.

Returns

Documentation for this section has not yet been entered.

Remarks

Map object coordinates into window coordinates. gluProject transforms the specified object coordinates into window coordinates using model, proj, and view. The result is stored in win.

Note that you can use the OES_matrix_get extension, if present, to get the current modelView and projection matrices.

[Android Documentation]

Requirements

Namespace: Android.Opengl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1