Share via


ScrollPresenter.AddScrollVelocity(Vector2, IReference<Vector2>) メソッド

定義

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

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

パラメーター

offsetsVelocity
Vector2 Vector2

float2

スクロール オフセットの変化率。

inertiaDecayRate

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

慣性の減衰率。

戻り値

Int32

int

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

適用対象