ULandscapeMeshCollisionComponent::DestroyComponent

Unregister the component, remove it from its outer Actor's Components array and mark for pending kill.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeMeshCollisionComponent.h

Include

#include "LandscapeMeshCollisionComponent.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeCollision.cpp

Syntax

virtual void DestroyComponent
(
    bool bPromoteChildren
)

Remarks

Unregister the component, remove it from its outer Actor's Components array and mark for pending kill.