INTERACTION_ARGUMENTS_MANIPULATION structure (interactioncontext.h)

Defines the state of a manipulation.

Syntax

typedef struct INTERACTION_ARGUMENTS_MANIPULATION {
  MANIPULATION_TRANSFORM   delta;
  MANIPULATION_TRANSFORM   cumulative;
  MANIPULATION_VELOCITY    velocity;
  MANIPULATION_RAILS_STATE railsState;
} INTERACTION_ARGUMENTS_MANIPULATION;

Members

delta

The change in translation, rotation, and scale since the last INTERACTION_CONTEXT_OUTPUT_CALLBACK callback function.

cumulative

The accumulated change in translation, rotation, and scale since the interaction started.

velocity

The velocities of the accumulated transformations for the interaction.

railsState

One of the constants from MANIPULATION_RAILS_STATE enumeration.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header interactioncontext.h

See also

INTERACTION_CONTEXT_OUTPUT structure

INTERACTION_CONTEXT_OUTPUT2 structure

RegisterOutputCallbackInteractionContext function

RegisterOutputCallbackInteractionContext2 function