Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBodyInstance
Description
Utility to get all the shapes from a FBodyInstance NOTE: This function is not thread safe. You must hold the physics scene lock while calling it and reading/writing from the shapes
| Name | GetAllShapes_AssumesLocked |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include Path | #include "PhysicsEngine/BodyInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
int32 GetAllShapes_AssumesLocked
(
TArray < FPhysicsShapeHandle > & OutShapes
) const