Share via


SCNVector3.Lerp Method

Definition

Overloads

Name Description
Lerp(SCNVector3, SCNVector3, NFloat)

Returns a new Vector that is the linear blend of the 2 given Vectors

Lerp(SCNVector3, SCNVector3, Single)

Returns a new Vector that is the linear blend of the 2 given Vectors

Lerp(SCNVector3, SCNVector3, NFloat, SCNVector3)

Returns a new Vector that is the linear blend of the 2 given Vectors

Lerp(SCNVector3, SCNVector3, Single, SCNVector3)

Returns a new Vector that is the linear blend of the 2 given Vectors

Lerp(SCNVector3, SCNVector3, NFloat)

Returns a new Vector that is the linear blend of the 2 given Vectors

public static SceneKit.SCNVector3 Lerp(SceneKit.SCNVector3 a, SceneKit.SCNVector3 b, System.Runtime.InteropServices.NFloat blend);
static member Lerp : SceneKit.SCNVector3 * SceneKit.SCNVector3 * System.Runtime.InteropServices.NFloat -> SceneKit.SCNVector3

Parameters

a
SCNVector3

First input vector

b
SCNVector3

Second input vector

blend
NFloat

The blend factor. a when blend=0, b when blend=1.

Returns

a when blend=0, b when blend=1, and a linear combination otherwise

Applies to

Lerp(SCNVector3, SCNVector3, Single)

Returns a new Vector that is the linear blend of the 2 given Vectors

public static SceneKit.SCNVector3 Lerp(SceneKit.SCNVector3 a, SceneKit.SCNVector3 b, float blend);
static member Lerp : SceneKit.SCNVector3 * SceneKit.SCNVector3 * single -> SceneKit.SCNVector3

Parameters

a
SCNVector3

First input vector

b
SCNVector3

Second input vector

blend
Single

The blend factor. a when blend=0, b when blend=1.

Returns

a when blend=0, b when blend=1, and a linear combination otherwise

Applies to

Lerp(SCNVector3, SCNVector3, NFloat, SCNVector3)

Returns a new Vector that is the linear blend of the 2 given Vectors

public static void Lerp(ref SceneKit.SCNVector3 a, ref SceneKit.SCNVector3 b, System.Runtime.InteropServices.NFloat blend, out SceneKit.SCNVector3 result);
static member Lerp : SCNVector3 * SCNVector3 * System.Runtime.InteropServices.NFloat * SCNVector3 -> unit

Parameters

a
SCNVector3

First input vector

b
SCNVector3

Second input vector

blend
NFloat

The blend factor. a when blend=0, b when blend=1.

result
SCNVector3

a when blend=0, b when blend=1, and a linear combination otherwise

Applies to

Lerp(SCNVector3, SCNVector3, Single, SCNVector3)

Returns a new Vector that is the linear blend of the 2 given Vectors

public static void Lerp(ref SceneKit.SCNVector3 a, ref SceneKit.SCNVector3 b, float blend, out SceneKit.SCNVector3 result);
static member Lerp : SCNVector3 * SCNVector3 * single * SCNVector3 -> unit

Parameters

a
SCNVector3

First input vector

b
SCNVector3

Second input vector

blend
Single

The blend factor. a when blend=0, b when blend=1.

result
SCNVector3

a when blend=0, b when blend=1, and a linear combination otherwise

Applies to