IUIAnimationTransition2::SetInitialVectorVelocity method (uianimation.h)

Sets the initial velocity of the transition for each specified dimension in the animation variable.


HRESULT SetInitialVectorVelocity(
  [in] const DOUBLE *velocity,
  [in] UINT         cDimension


[in] velocity

A vector (of size cDimension) that contains the initial velocities for the transition.

[in] cDimension

The number of dimensions that require transition velocities. This parameter specifies the number of values listed in velocity.

Return value

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


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