Share via


SCNVector3.TransformPerspective Method

Definition

Overloads

Name Description
TransformPerspective(SCNVector3, SCNMatrix4, SCNVector3)

Transform a SCNVector3 by the given Matrix, and project the resulting SCNVector4 back to a SCNVector3

TransformPerspective(SCNVector3, SCNMatrix4)

Transform a SCNVector3 by the given Matrix, and project the resulting Vector4 back to a SCNVector3

TransformPerspective(SCNVector3, SCNMatrix4, SCNVector3)

Transform a SCNVector3 by the given Matrix, and project the resulting SCNVector4 back to a SCNVector3

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

Parameters

vec
SCNVector3

The vector to transform

mat
SCNMatrix4

The desired transformation

result
SCNVector3

The transformed vector

Applies to

TransformPerspective(SCNVector3, SCNMatrix4)

Transform a SCNVector3 by the given Matrix, and project the resulting Vector4 back to a SCNVector3

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

Parameters

vec
SCNVector3

The vector to transform

mat
SCNMatrix4

The desired transformation

Returns

The transformed vector

Applies to