다음을 통해 공유


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 번호입니다.

적용 대상