Windows Dev Center

IUIAnimationTransition2::SetInitialVectorVelocity method

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

Syntax


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

Parameters

velocity [in]

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

cDimension [in]

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.

Requirements

Minimum supported client

Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationTransition2 is defined as 62FF9123-A85A-4e9b-A218-435A93E268FD

See also

IUIAnimationTransition2

 

 

Community Additions

ADD
Show:
© 2015 Microsoft