SCNVector3.Lerp 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
| 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
First input vector
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
First input vector
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
First input vector
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
First input vector
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