UDestructibleComponent::ExecuteOnPhysicsReadOnly

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

Choose your operating system:

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.