IManipulationProcessor::GetExpansionVelocity method

The GetExpansionVelocity method calculates the rate that the target object is expanding at.

Syntax


HRESULT GetExpansionVelocity(
  [out] FLOAT *pExpansionVelocity
);

Parameters

pExpansionVelocity [out]

The rate of expansion.

Return value

Returns S_OK on success, otherwise returns an error code such as E_FAIL.

Remarks

This value is useful when you are using the IInertiaProcessor interface. You should pass this value when the manipulation completes.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Manipulations.h (include Manipulations_i.c)

See also

InitialExpansionVelocity
IManipulationProcessor
Methods

 

 

Community Additions

ADD
Show: