Share via


SCNVector4.Lerp Method

Definition

Overloads

Name Description
Lerp(SCNVector4, SCNVector4, NFloat)

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

Lerp(SCNVector4, SCNVector4, Single)

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

Lerp(SCNVector4, SCNVector4, NFloat, SCNVector4)

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

Lerp(SCNVector4, SCNVector4, Single, SCNVector4)

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

Lerp(SCNVector4, SCNVector4, NFloat)

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

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

Parameters

a
SCNVector4

First input vector

b
SCNVector4

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(SCNVector4, SCNVector4, Single)

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

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

Parameters

a
SCNVector4

First input vector

b
SCNVector4

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(SCNVector4, SCNVector4, NFloat, SCNVector4)

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

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

Parameters

a
SCNVector4

First input vector

b
SCNVector4

Second input vector

blend
NFloat

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

result
SCNVector4

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

Applies to

Lerp(SCNVector4, SCNVector4, Single, SCNVector4)

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

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

Parameters

a
SCNVector4

First input vector

b
SCNVector4

Second input vector

blend
Single

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

result
SCNVector4

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

Applies to