SCNVector3.CalculateAngle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CalculateAngle(SCNVector3, SCNVector3, Single) |
Calculates the angle, in radians, between the |
CalculateAngle(SCNVector3, SCNVector3, nfloat) | |
CalculateAngle(SCNVector3, SCNVector3) |
Calculates the angle, in radians, between the |
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.