다음을 통해 공유


Matrix.SetLookAtM Method

Definition

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

[Android.Runtime.Register("setLookAtM", "([FIFFFFFFFFF)V", "")]
public static void SetLookAtM (float[]? rm, int rmOffset, float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ);
[<Android.Runtime.Register("setLookAtM", "([FIFFFFFFFFF)V", "")>]
static member SetLookAtM : single[] * int * single * single * single * single * single * single * single * single * single -> unit

Parameters

rm
Single[]

returns the result

rmOffset
Int32

index into rm where the result matrix starts

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

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

Java documentation for android.opengl.Matrix.setLookAtM(float[], int, 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