다음을 통해 공유


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

적용 대상