AActor::FindComponentByClass

Templatized version of FindComponentByClass that handles casting for you

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Syntax

template<class T>
T * FindComponentByClass() const

Remarks

Templatized version of FindComponentByClass that handles casting for you

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