FBodyInstance::GetAllShapes_AssumesLocked

Utility to get all the shapes from a [FBodyInstance](API\Runtime\Engine\PhysicsEngine\FBodyInstance)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h

Include

#include "PhysicsEngine/BodyInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp

Syntax

int32 GetAllShapes_AssumesLocked
(
    TArray< FPhysicsShapeHandle > & OutShapes
) const

Remarks

Utility to get all the shapes from a FBodyInstance

This function is not thread safe. You must hold the physics scene lock while calling it and reading/writing from the shapes

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss