Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BodyLockWrite Class Reference

Specialization that locks a body for writing to. More...

#include <BodyLock.h>

Inheritance diagram for BodyLockWrite:
BodyLockBase< true, Body > NonCopyable

Additional Inherited Members

- Public Member Functions inherited from BodyLockBase< true, Body >
 BodyLockBase (const BodyLockInterface &inBodyLockInterface, const BodyID &inBodyID)
 Constructor will lock the body. More...
 
void ReleaseLock ()
 Explicitly release the lock (normally this is done in the destructor) More...
 
 ~BodyLockBase ()
 Destructor will unlock the body. More...
 
bool Succeeded () const
 Test if the lock was successful (if the body ID was valid) More...
 
bool SucceededAndIsInBroadPhase () const
 Test if the lock was successful (if the body ID was valid) and the body is still in the broad phase. More...
 
BodyGetBody () const
 Access the body. More...
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Specialization that locks a body for writing to.

See also
BodyLockRead for usage patterns.

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