Click or drag to resize

LongSmoothener.GetVelocity Method

Returns the velocity required to process the specified amount in the specified duration.

Namespace:  Slash.Unity.DataBind.Foundation.Providers.Smootheners
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
protected override long GetVelocity(
	long amount,
	float duration
)

Parameters

amount
Type: System.Int64
Amount to process.
duration
Type: System.Single
Duration available to process (in s).

Return Value

Type: Int64
Velocity required to process the amount with (in 1/s).
See Also