GLU.GluUnProject(Single, Single, Single, Single[], Int32, Single[], Int32, Int32[], Int32, Single[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Map window coordinates to object coordinates. gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view.
[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);
[<Android.Runtime.Register("gluUnProject", "(FFF[FI[FI[II[FI)I", "")>]
static member GluUnProject : single * single * single * single[] * int * single[] * int * int[] * int * single[] * int -> int
Parameters
- winX
- Single
window coordinates X
- winY
- Single
window coordinates Y
- winZ
- Single
window coordinates Z
- model
- Single[]
the current modelview matrix
- modelOffset
- Int32
the offset into the model array where the modelview maxtrix data starts.
- project
- Single[]
the current projection matrix
- projectOffset
- Int32
the offset into the project array where the project matrix data starts.
- view
- Int32[]
the current view, {x, y, width, height}
- viewOffset
- Int32
the offset into the view array where the view vector data starts.
- obj
- Single[]
the output vector {objX, objY, objZ}, that returns the computed object coordinates.
- objOffset
- Int32
the offset into the obj array where the obj vector data starts.
Returns
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.