共用方式為


AnimationLerpingExtensions.GenericLerp<T>(T, T, Double, Double) Method

Definition

public static T GenericLerp<T> (this T start, T end, double progress, double toggleThreshold = 0.5);
static member GenericLerp : 'T * 'T * double * double -> 'T
<Extension()>
Public Function GenericLerp(Of T) (start As T, end As T, progress As Double, Optional toggleThreshold As Double = 0.5) As T

Type Parameters

T

Parameters

start
T
end
T
progress
Double
toggleThreshold
Double

Returns

T

Applies to