SCNMatrix4.LookAt Method

Definition

Overloads

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

Creates a matrix that transforms world space into the camera space with the specified up direction.

LookAt(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat)
LookAt(SCNVector3, SCNVector3, SCNVector3)

Creates a matrix that transforms world space into the camera space with the specified up direction.

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

Creates a matrix that transforms world space into the camera space with the specified up direction.

public static SceneKit.SCNMatrix4 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 -> SceneKit.SCNMatrix4

Parameters

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

Returns

Applies to

LookAt(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat)

public static SceneKit.SCNMatrix4 LookAt (nfloat eyeX, nfloat eyeY, nfloat eyeZ, nfloat targetX, nfloat targetY, nfloat targetZ, nfloat upX, nfloat upY, nfloat upZ);
static member LookAt : nfloat * nfloat * nfloat * nfloat * nfloat * nfloat * nfloat * nfloat * nfloat -> SceneKit.SCNMatrix4

Parameters

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

Returns

Applies to

LookAt(SCNVector3, SCNVector3, SCNVector3)

Creates a matrix that transforms world space into the camera space with the specified up direction.

public static SceneKit.SCNMatrix4 LookAt (SceneKit.SCNVector3 eye, SceneKit.SCNVector3 target, SceneKit.SCNVector3 up);
static member LookAt : SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNVector3 -> SceneKit.SCNMatrix4

Parameters

target
SCNVector3

Returns

Applies to