Share via


Physics Engine Constants

4/8/2010

The following constants are used by the physics engine API.

Name Value Description

PHYSICSENGINE_BOUNDARY_MODE_NONE

0

Indicates that no special animation occurs when the gesture animation reaches the boundary.

PHYSICSENGINE_BOUNDARY_MODE_RUBBERBAND

1

Indicates that a rubber band animation occurs when the gesture animation reaches the boundary.

PHYSICSENGINE_MOVEMENT_MODE_DECELERATE

0

Indicates that the animation speed slows down over time.

PHYSICSENGINE_FLAG_USERTIME

1

Indicates that the engine time is specified by the user.

Remarks

You use these constants when populating a PHYSICSENGINEINIT structure to configure a physics engine.

Requirements

Header GesturePhysicsEngine.h