FindComponentByClass

Overload list

Windows
MacOS
Linux
Name Description

Public function Const

T *

 

FindComponentByClass()

Templatized version of FindComponentByClass that handles casting for you

Public function Virtual Const

UActorCompon...

 

FindComponentByClass

(
    const TSubclassOf< UActorComponent ...
)

Searches components array and returns first encountered component of the specified class, native version of GetComponentByClass

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