次の方法で共有


ScrollPresenter.AddZoomVelocity メソッド

定義

ズーム アクションに速度を非同期的に追加します。

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

パラメーター

zoomFactorVelocity
Single

float

ズーム係数の変化率。

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

ズーム係数の中心点を変更します。

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

慣性の減衰率。

戻り値

Int32

int

このメソッド呼び出しを対応するイベントに関連付けるために使用される関連付け ID 番号。

適用対象