USceneComponent::IsAttachedTo

Walks up the attachment chain to see if this component is attached to the supplied component.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/SceneComponent.h"

Source

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

Syntax

bool IsAttachedTo
(
    const USceneComponent * TestComp
) const

Remarks

Walks up the attachment chain to see if this component is attached to the supplied component. If TestComp == this, returns false.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss