Bewerken

Delen via


Matrix4.LookAt Method

Definition

Overloads

LookAt(Single, Single, Single, Single, Single, Single, Single, Single, Single)
LookAt(Vector3, Vector3, Vector3)

LookAt(Single, Single, Single, Single, Single, Single, Single, Single, Single)

public static OpenTK.Matrix4 LookAt (float eyeX, float eyeY, float eyeZ, float targetX, float targetY, float targetZ, float upX, float upY, float upZ);
static member LookAt : single * single * single * single * single * single * single * single * single -> OpenTK.Matrix4

Parameters

eyeX
Single
eyeY
Single
eyeZ
Single
targetX
Single
targetY
Single
targetZ
Single
upX
Single
upY
Single
upZ
Single

Returns

Applies to

LookAt(Vector3, Vector3, Vector3)

public static OpenTK.Matrix4 LookAt (OpenTK.Vector3 eye, OpenTK.Vector3 target, OpenTK.Vector3 up);
static member LookAt : OpenTK.Vector3 * OpenTK.Vector3 * OpenTK.Vector3 -> OpenTK.Matrix4

Parameters

eye
Vector3
target
Vector3
up
Vector3

Returns

Applies to