Udostępnij za pośrednictwem


GLU.GluLookAt Method

Definition

Define a viewing transformation in terms of an eye point, a center of view, and an up vector.

[Android.Runtime.Register("gluLookAt", "(Ljavax/microedition/khronos/opengles/GL10;FFFFFFFFF)V", "")]
public static void GluLookAt (Javax.Microedition.Khronos.Opengles.IGL10? gl, float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ);
[<Android.Runtime.Register("gluLookAt", "(Ljavax/microedition/khronos/opengles/GL10;FFFFFFFFF)V", "")>]
static member GluLookAt : Javax.Microedition.Khronos.Opengles.IGL10 * single * single * single * single * single * single * single * single * single -> unit

Parameters

gl
IGL10

a GL10 interface

eyeX
Single

eye point X

eyeY
Single

eye point Y

eyeZ
Single

eye point Z

centerX
Single

center of view X

centerY
Single

center of view Y

centerZ
Single

center of view Z

upX
Single

up vector X

upY
Single

up vector Y

upZ
Single

up vector Z

Attributes

Remarks

Define a viewing transformation in terms of an eye point, a center of view, and an up vector.

Java documentation for android.opengl.GLU.gluLookAt(javax.microedition.khronos.opengles.GL10, float, float, float, float, float, float, float, float, float).

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.

Applies to