USceneCaptureComponent::OnComponentDestroyed

Called when a component is destroyed

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SceneCaptureComponent.h

Include

#include "Components/SceneCaptureComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SceneCaptureComponent.cpp

Syntax

virtual void OnComponentDestroyed
(
    bool bDestroyingHierarchy
)

Remarks

Called when a component is destroyed

Parameters

Parameter

Description

bDestroyingHierarchy

True if the entire component hierarchy is being torn down, allows avoiding expensive operations