EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

IManipulationProcessor::GetVelocityX method

Calculates and returns the horizontal velocity for the target object.

Syntax


HRESULT GetVelocityX(
  [out] FLOAT *pX
);

Parameters

pX [out]

The calculated horizontal velocity.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT 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

InitialVelocityX
GetVelocityY
IManipulationProcessor
Methods

 

 

Adiciones de comunidad

AGREGAR
Mostrar:
© 2015 Microsoft