SCNVector3.CalculateAngle Method

Definition

Overloads

CalculateAngle(SCNVector3, SCNVector3, Single)

Calculates the angle, in radians, between the first and second vectors and stores the result in result.

CalculateAngle(SCNVector3, SCNVector3, nfloat)
CalculateAngle(SCNVector3, SCNVector3)

Calculates the angle, in radians, between the first and second vectors.

CalculateAngle(SCNVector3, SCNVector3, Single)

Calculates the angle, in radians, between the first and second vectors and stores the result in result.

public static void CalculateAngle (ref SceneKit.SCNVector3 first, ref SceneKit.SCNVector3 second, out float result);
static member CalculateAngle :  *  *  -> unit

Parameters

first
SCNVector3
second
SCNVector3
result
Single

Applies to

CalculateAngle(SCNVector3, SCNVector3, nfloat)

public static void CalculateAngle (ref SceneKit.SCNVector3 first, ref SceneKit.SCNVector3 second, out nfloat result);
static member CalculateAngle :  *  *  -> unit

Parameters

first
SCNVector3
second
SCNVector3
result
nfloat

Applies to

CalculateAngle(SCNVector3, SCNVector3)

Calculates the angle, in radians, between the first and second vectors.

public static float CalculateAngle (SceneKit.SCNVector3 first, SceneKit.SCNVector3 second);
static member CalculateAngle : SceneKit.SCNVector3 * SceneKit.SCNVector3 -> single

Parameters

first
SCNVector3
second
SCNVector3

Returns

The return type is Single on iOS and nfloat on MacOS.

Applies to