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

Public Member Functions

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)
 

Protected Member Functions

 Interaction (ActorSim &actor0, ActorSim &actor1, InteractionType::Enum interactionType, PxU8 flags)
 

Protected Attributes

const PxU8 mInteractionType
 
PxU8 mInteractionFlags
 
PxU8 mDirtyFlags
 
PxU8 mPadding8
 

Member Function Documentation

◆ setClean()

void Sc::Interaction::setClean ( bool  removeFromList)

Clear all flags that mark the interaction as dirty and optionally remove the interaction from the list of dirty interactions.

See also
InteractionDirtyFlag

◆ setDirty()

PX_FORCE_INLINE void physx::Sc::Interaction::setDirty ( PxU32  dirtyFlags)

Mark the interaction as dirty. This will put the interaction into a list that is processed once per simulation step.

See also
InteractionDirtyFlag

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