Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::physics::context::PhysicsContext::ConstraintInfo Class Reference

An object that stores information about a constraint in a physics context. More...

#include <omPhysicsContext.h>

Public Member Functions

 ConstraintInfo (PhysicsObjectID newObject1, PhysicsObjectID newObject2, Constraint *newConstraint, UInt32 newUserID)
 Create a new constraint info object for the specified pair of objects and constraint pointer. More...
 

Public Attributes

PhysicsObjectID object1
 The ID of the first object that is affected by the constraint. More...
 
PhysicsObjectID object2
 The ID of the second object that is affected by the constraint. More...
 
Constraintconstraint
 A pointer to the constraint that this constraint info is for. More...
 
UInt32 userID
 The user ID for the constraint, used to identify it. More...
 

Detailed Description

An object that stores information about a constraint in a physics context.

Constructor & Destructor Documentation

om::physics::context::PhysicsContext::ConstraintInfo::ConstraintInfo ( PhysicsObjectID  newObject1,
PhysicsObjectID  newObject2,
Constraint newConstraint,
UInt32  newUserID 
)
inline

Create a new constraint info object for the specified pair of objects and constraint pointer.

Member Data Documentation

PhysicsObjectID om::physics::context::PhysicsContext::ConstraintInfo::object1

The ID of the first object that is affected by the constraint.

PhysicsObjectID om::physics::context::PhysicsContext::ConstraintInfo::object2

The ID of the second object that is affected by the constraint.

Constraint* om::physics::context::PhysicsContext::ConstraintInfo::constraint

A pointer to the constraint that this constraint info is for.

UInt32 om::physics::context::PhysicsContext::ConstraintInfo::userID

The user ID for the constraint, used to identify it.


The documentation for this class was generated from the following file: