Namespace: DeltaEngine.ExtensionsAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public static float Lerp(
this float value1,
float value2,
float percentage
)
public static float Lerp(
this float value1,
float value2,
float percentage
)
<ExtensionAttribute>
Public Shared Function Lerp (
value1 As Single,
value2 As Single,
percentage As Single
) As Single
<ExtensionAttribute>
Public Shared Function Lerp (
value1 As Single,
value2 As Single,
percentage As Single
) As Single
public:
[ExtensionAttribute]
static float Lerp(
float value1,
float value2,
float percentage
)
public:
[ExtensionAttribute]
static float Lerp(
float value1,
float value2,
float percentage
)
static member Lerp :
value1 : float32 *
value2 : float32 *
percentage : float32 -> float32
static member Lerp :
value1 : float32 *
value2 : float32 *
percentage : float32 -> float32
Return Value
Type:
SingleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Single. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).