UMotionControllerComponent::OnComponentDestroyed

Called when a component is destroyed

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/MotionControllerComponent.h

Include

#include "MotionControllerComponent.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/MotionControllerComponent.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