GetComponentsByClass

GetComponentsByClass

Windows
MacOS
Linux

Gets all the components that inherit from the given class. Currently returns an array of UActorComponent which must be cast to the correct type. This intended to only be used by blueprints. Use GetComponents() in C++.

Target is Actor

GetComponentsByClass
Target
Component Class
Select Class
Return Value

Inputs

Target
Actor Object Reference
Component Class
Actor Component Class Reference

Outputs

Return Value
Array of Actor Component Object References

Gets all the components that inherit from the given class. Currently returns an array of UActorComponent which must be cast to the correct type. This intended to only be used by blueprints. Use GetComponents() in C++.

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