![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Threading.h>
Public Member Functions | |
| FPhysicsSceneGuard () | |
| ~FPhysicsSceneGuard () | |
| FPhysicsSceneGuard (const FPhysicsSceneGuard &InOther)=delete | |
| FPhysicsSceneGuard (FPhysicsSceneGuard &&InOther)=delete | |
| FPhysicsSceneGuard & | operator= (const FPhysicsSceneGuard &InOther)=delete |
| FPhysicsSceneGuard & | operator= (FPhysicsSceneGuard &&InOther)=delete |
| void | ReadLock () |
| void | WriteLock () |
| void | ReadUnlock () |
| void | WriteUnlock () |
Recursive Read/Write lock object for protecting external data accesses for physics scenes. This is a fairly heavy lock designed to allow scene queries and user code to safely access external physics data.
The lock also allows a thread to recursively lock data to avoid deadlocks on repeated writes or undefined behavior for nesting read locks.
Fairness is determined by the underlying platform FRWLock type as this lock uses FRWLock as it's internal primitive
|
inline |
|
inline |
|
delete |
|
delete |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |