Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent > API/Plugins/PhysicsControl/UPhysicsControlComponent/DestroyControl
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PhysicsControl, Meta=(ReturnDisplayName="Success"))
bool DestroyControl
(
const FName Name
)
Remarks
Destroys a control Returns true if the control was found and destroyed, false if not
Parameters
| Name | Description |
|---|---|
| Name | The name of the control to destroy. |