Share via


SCNVector3.TransformVector Method

Definition

Overloads

Name Description
TransformVector(SCNVector3, SCNMatrix4)

Transform a direction vector by the given Matrix Assumes the matrix has a right-most column of (0,0,0,1), that is the translation part is ignored.

TransformVector(SCNVector3, SCNMatrix4, SCNVector3)

Transform a direction vector by the given matrix. Assumes the matrix has a right-most column of (0,0,0,1), that is the translation part is ignored.

TransformVector(SCNVector3, SCNMatrix4)

Transform a direction vector by the given Matrix Assumes the matrix has a right-most column of (0,0,0,1), that is the translation part is ignored.

public static SceneKit.SCNVector3 TransformVector(SceneKit.SCNVector3 vec, SceneKit.SCNMatrix4 mat);
static member TransformVector : SceneKit.SCNVector3 * SceneKit.SCNMatrix4 -> SceneKit.SCNVector3

Parameters

vec
SCNVector3

The column vector to transform

mat
SCNMatrix4

The desired transformation

Returns

The transformed vector

Applies to

TransformVector(SCNVector3, SCNMatrix4, SCNVector3)

Transform a direction vector by the given matrix. Assumes the matrix has a right-most column of (0,0,0,1), that is the translation part is ignored.

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

Parameters

vec
SCNVector3

The column vector to transform

mat
SCNMatrix4

The desired transformation

result
SCNVector3

The transformed vector

Applies to