Partager via


Physics Engine Constants (Windows Embedded CE 6.0)

1/6/2010

The physics engine API uses the following constants.

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_BOUNDARY_MODE_BOUNCE

2

Indicates that a bounce 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 to populate a PHYSICSENGINEINIT structure to configure a physics engine.

Requirements

Header physicsengine.h, pwinuser.h
sysgen SYSGEN_PHYSICSENGINE

See Also

Other Resources

Physics Engine Reference