RavEngine
Loading...
Searching...
No Matches
physx::Sc::ConstraintInteraction Class Reference
Inheritance diagram for physx::Sc::ConstraintInteraction:
[legend]
Collaboration diagram for physx::Sc::ConstraintInteraction:
[legend]

Public Member Functions

 ConstraintInteraction (ConstraintSim *shader, RigidSim &r0, RigidSim &r1)
 
bool onActivate_ (void *data)
 
bool onDeactivate_ ()
 
void updateState ()
 
void destroy ()
 
PX_FORCE_INLINE ConstraintSim * getConstraint ()
 
PX_FORCE_INLINE PxU32 getEdgeIndex () const
 
- Public Member Functions inherited from physx::Sc::Interaction
PX_FORCE_INLINE bool registerInActors (void *data=NULL)
 
PX_FORCE_INLINE void unregisterFromActors ()
 
PX_FORCE_INLINE ActorSim & getActorSim0 () const
 
PX_FORCE_INLINE ActorSim & getActorSim1 () const
 
PX_FORCE_INLINE Scene & getScene () const
 
PX_FORCE_INLINE InteractionType::Enum getType () const
 
PX_FORCE_INLINE PxU8 readInteractionFlag (PxU8 flag) const
 
PX_FORCE_INLINE void raiseInteractionFlag (InteractionFlag::Enum flag)
 
PX_FORCE_INLINE void clearInteractionFlag (InteractionFlag::Enum flag)
 
PX_FORCE_INLINE void setDirty (PxU32 dirtyFlags)
 Mark the interaction as dirty. This will put the interaction into a list that is processed once per simulation step.
 
void setClean (bool removeFromList)
 Clear all flags that mark the interaction as dirty and optionally remove the interaction from the list of dirty interactions.
 
PX_FORCE_INLINE PxIntBool needsRefiltering () const
 
PX_FORCE_INLINE PxIntBool isElementInteraction () const
 
PX_FORCE_INLINE void setInteractionId (PxU32 id)
 
PX_FORCE_INLINE PxU32 getInteractionId () const
 
PX_FORCE_INLINE bool isRegistered () const
 
PX_FORCE_INLINE void setActorId (ActorSim *actor, PxU32 id)
 
PX_FORCE_INLINE PxU32 getActorId (const ActorSim *actor) const
 
PX_FORCE_INLINE PxU8 getDirtyFlags () const
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Additional Inherited Members

- Protected Member Functions inherited from physx::Sc::Interaction
 Interaction (ActorSim &actor0, ActorSim &actor1, InteractionType::Enum interactionType, PxU8 flags)
 
- Protected Attributes inherited from physx::Sc::Interaction
const PxU8 mInteractionType
 
PxU8 mInteractionFlags
 
PxU8 mDirtyFlags
 
PxU8 mPadding8
 

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