IUIAnimationTransition2::SetInitialVelocity method (uianimation.h)

Sets the initial velocity of the transition.

Syntax

HRESULT SetInitialVelocity(
  [in] DOUBLE velocity
);

Parameters

[in] velocity

The initial velocity for the transition.

Return value

Returns S_OK if successful; otherwise an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Requirements

Requirement Value
Minimum supported client Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See also

IUIAnimationTransition2