SCNMatrix4.LookAt SCNMatrix4.LookAt Method

Definition

Overloads

LookAt(Single, Single, Single, Single, Single, Single, Single, Single, Single) 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(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat)
LookAt(SCNVector3, SCNVector3, SCNVector3) 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) 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 Single
eyeY
Single Single
eyeZ
Single Single
targetX
Single Single
targetY
Single Single
targetZ
Single Single

Returns

LookAt(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) 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 nfloat
eyeY
nfloat nfloat
eyeZ
nfloat nfloat
targetX
nfloat nfloat
targetY
nfloat nfloat
targetZ
nfloat nfloat

Returns

LookAt(SCNVector3, SCNVector3, SCNVector3) 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

Returns

Applies to