Compartir a través de


ScrollPresenter.AddScrollVelocity(Vector2, IReference<Vector2>) Método

Definición

Agrega de forma asincrónica velocidad a una acción de desplazamiento.

public:
 virtual int AddScrollVelocity(float2 offsetsVelocity, IReference<float2> ^ inertiaDecayRate) = AddScrollVelocity;
int AddScrollVelocity(float2 const& offsetsVelocity, IReference<float2> const& inertiaDecayRate);
public int AddScrollVelocity(Vector2 offsetsVelocity, System.Nullable<Vector2> inertiaDecayRate);
function addScrollVelocity(offsetsVelocity, inertiaDecayRate)
Public Function AddScrollVelocity (offsetsVelocity As Vector2, inertiaDecayRate As Nullable(Of Vector2)) As Integer

Parámetros

offsetsVelocity
Vector2 Vector2

float2

Velocidad del cambio de desplazamiento de desplazamiento.

inertiaDecayRate

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

Tasa de descomposición de la inercia.

Devoluciones

Int32

int

Número de identificador de correlación usado para asociar esta llamada de método a los eventos correspondientes.

Se aplica a