Android.Opengl.GLU.GluUnProject Method
Map window coordinates to object coordinates. gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view.

Syntax

[Android.Runtime.Register("gluUnProject", "(FFF[FI[FI[II[FI)I", "")]
public static int GluUnProject (float winX, float winY, float winZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] obj, int objOffset)

Parameters

winX
window coordinates X
winY
window coordinates Y
winZ
window 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.
obj
the output vector {objX, objY, objZ}, that returns the computed object coordinates.
objOffset
the offset into the obj array where the obj vector data starts.

Returns

Documentation for this section has not yet been entered.

Remarks

Map window coordinates to object coordinates. gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view. The result is stored in obj.

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