Android Guides | Samples

Android.Opengl.GLU.GluPerspective Method

Set up a perspective projection matrix

Syntax

[Android.Runtime.Register("gluPerspective", "(Ljavax/microedition/khronos/opengles/GL10;FFFF)V", "")]
public static Void GluPerspective (IGL10 gl, Single fovy, Single aspect, Single zNear, Single zFar)

Parameters

gl
a GL10 interface
fovy
specifies the field of view angle, in degrees, in the Y direction.
aspect
specifies the aspect ration that determins the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
zNear
specifies the distance from the viewer to the near clipping plane (always positive).
zFar
specifies the distance from the viewer to the far clipping plane (always positive).

Remarks

Set up a perspective projection matrix

[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