Editar

Compartilhar via


SCNMatrix4.CreateTranslation Method

Definition

Overloads

CreateTranslation(Single, Single, Single, SCNMatrix4)

Creates a matrix that translates objects in the direction and magnitude of the vector with the specified coordinates, and stores it in result.

CreateTranslation(Single, Single, Single)

Creates a matrix that translates objects in the direction and magnitude of the vector with the specified coordinates.

CreateTranslation(nfloat, nfloat, nfloat, SCNMatrix4)
CreateTranslation(SCNVector3, SCNMatrix4)

Creates a matrix that translates objects in the direction and magnitude of vector and stores it in result.

CreateTranslation(nfloat, nfloat, nfloat)
CreateTranslation(SCNVector3)

Creates a matrix that translates objects in the direction and magnitude of vector.

CreateTranslation(Single, Single, Single, SCNMatrix4)

Creates a matrix that translates objects in the direction and magnitude of the vector with the specified coordinates, and stores it in result.

public static void CreateTranslation (float x, float y, float z, out SceneKit.SCNMatrix4 result);
static member CreateTranslation : single * single * single *  -> unit

Parameters

x
Single
y
Single
z
Single
result
SCNMatrix4

Applies to

CreateTranslation(Single, Single, Single)

Creates a matrix that translates objects in the direction and magnitude of the vector with the specified coordinates.

public static SceneKit.SCNMatrix4 CreateTranslation (float x, float y, float z);
static member CreateTranslation : single * single * single -> SceneKit.SCNMatrix4

Parameters

x
Single
y
Single
z
Single

Returns

Applies to

CreateTranslation(nfloat, nfloat, nfloat, SCNMatrix4)

public static void CreateTranslation (nfloat x, nfloat y, nfloat z, out SceneKit.SCNMatrix4 result);
static member CreateTranslation : nfloat * nfloat * nfloat *  -> unit

Parameters

x
nfloat
y
nfloat
z
nfloat
result
SCNMatrix4

Applies to

CreateTranslation(SCNVector3, SCNMatrix4)

Creates a matrix that translates objects in the direction and magnitude of vector and stores it in result.

public static void CreateTranslation (ref SceneKit.SCNVector3 vector, out SceneKit.SCNMatrix4 result);
static member CreateTranslation :  *  -> unit

Parameters

vector
SCNVector3
result
SCNMatrix4

Applies to

CreateTranslation(nfloat, nfloat, nfloat)

public static SceneKit.SCNMatrix4 CreateTranslation (nfloat x, nfloat y, nfloat z);
static member CreateTranslation : nfloat * nfloat * nfloat -> SceneKit.SCNMatrix4

Parameters

x
nfloat
y
nfloat
z
nfloat

Returns

Applies to

CreateTranslation(SCNVector3)

Creates a matrix that translates objects in the direction and magnitude of vector.

public static SceneKit.SCNMatrix4 CreateTranslation (SceneKit.SCNVector3 vector);
static member CreateTranslation : SceneKit.SCNVector3 -> SceneKit.SCNMatrix4

Parameters

vector
SCNVector3

Returns

Applies to