Modifier

Partager via


SCNVector3.Dot Method

Definition

Overloads

Dot(SCNVector3, SCNVector3)

Returns the dot product of left with right.

Dot(SCNVector3, SCNVector3, nfloat)
Dot(SCNVector3, SCNVector3, Single)

Sets result to the dot product of left with right.

Dot(SCNVector3, SCNVector3)

Returns the dot product of left with right.

public static float Dot (SceneKit.SCNVector3 left, SceneKit.SCNVector3 right);
static member Dot : SceneKit.SCNVector3 * SceneKit.SCNVector3 -> single

Parameters

left
SCNVector3
right
SCNVector3

Returns

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

Applies to

Dot(SCNVector3, SCNVector3, nfloat)

public static void Dot (ref SceneKit.SCNVector3 left, ref SceneKit.SCNVector3 right, out nfloat result);
static member Dot :  *  *  -> unit

Parameters

left
SCNVector3
right
SCNVector3
result
nfloat

Applies to

Dot(SCNVector3, SCNVector3, Single)

Sets result to the dot product of left with right.

public static void Dot (ref SceneKit.SCNVector3 left, ref SceneKit.SCNVector3 right, out float result);
static member Dot :  *  *  -> unit

Parameters

left
SCNVector3
right
SCNVector3
result
Single

Applies to