UDestructibleComponent::ExecuteOnPhysicsReadOnly

Obtains the appropriate PhysX scene lock for READING and executes the passed in lambda.

Windows
MacOS
Linux

References

Module

ApexDestruction

Header

/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Public/DestructibleComponent.h

Include

#include "DestructibleComponent.h"

Source

/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Private/DestructibleComponent.cpp

Syntax

bool ExecuteOnPhysicsReadOnly
(
    TFunctionRef< void()> Func
) const

Remarks

Obtains the appropriate PhysX scene lock for READING and executes the passed in lambda.

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