Freigeben über


ScrollPresenter.AddZoomVelocity Methode

Definition

Fügt einer Zoomaktion asynchron Geschwindigkeit hinzu.

public:
 virtual int AddZoomVelocity(float zoomFactorVelocity, IReference<float2> ^ centerPoint, IReference<float> ^ inertiaDecayRate) = AddZoomVelocity;
int AddZoomVelocity(float const& zoomFactorVelocity, IReference<float2> const& centerPoint, IReference<float> const& inertiaDecayRate);
public int AddZoomVelocity(float zoomFactorVelocity, System.Nullable<Vector2> centerPoint, System.Nullable<float> inertiaDecayRate);
function addZoomVelocity(zoomFactorVelocity, centerPoint, inertiaDecayRate)
Public Function AddZoomVelocity (zoomFactorVelocity As Single, centerPoint As Nullable(Of Vector2), inertiaDecayRate As Nullable(Of Single)) As Integer

Parameter

zoomFactorVelocity
Single

float

Die Rate der Zoomfaktoränderung.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

Der Mittelpunkt des Zoomfaktors ändert sich.

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

Die Verfallsrate der Tia.

Gibt zurück

Int32

int

Eine Korrelations-ID, die verwendet wird, um diesen Methodenaufruf den entsprechenden Ereignissen zuzuordnen.

Gilt für: