Share via


SCNVector3.TransformNormal Method

Definition

Overloads

Name Description
TransformNormal(SCNVector3, SCNMatrix4)

Transform a Normal by the given Matrix

TransformNormal(SCNVector3, SCNMatrix4, SCNVector3)

Transform a Normal by the given Matrix

TransformNormal(SCNVector3, SCNMatrix4)

Transform a Normal by the given Matrix

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

Parameters

norm
SCNVector3

The column-based normal to transform

mat
SCNMatrix4

The desired transformation

Returns

The transformed normal

Remarks

This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation

Applies to

TransformNormal(SCNVector3, SCNMatrix4, SCNVector3)

Transform a Normal by the given Matrix

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

Parameters

norm
SCNVector3

The column-based normal to transform

mat
SCNMatrix4

The desired transformation

result
SCNVector3

The transformed normal

Remarks

This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation

Applies to