Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > FBodyInstance
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 |
void ApplyMaterialToInstanceShapes_AssumesLocked
&40;
UPhysicalMaterial &42; SimplePhysMat,
TArray< UPhysicalMaterial &42; > & ComplexPhysMats,
const TArrayView< FPhysicalMaterialMaskParams > & ComplexPhysMatMasks
&41;
Remarks
Note: This function is not thread safe. Make sure you obtain the appropriate physics scene lock before calling it