FBodyInstance::ApplyMaterialToInstanceShapes_AssumesLocked

This function is not thread safe.

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

void ApplyMaterialToInstanceShapes_AssumesLocked
(
    UPhysicalMaterial * SimplePhysMat,
    TArray< UPhysicalMaterial * > & ComplexPhysMats,
    const TArrayView< FPhysicalMaterialMaskParams > & ComplexPhysMatMasks
)

Remarks

This function is not thread safe. Make sure you obtain the appropriate physics scene lock before calling it

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