GetComponentsbyClass
Jump to navigation
Jump to search
How to Use
Returns an array of ActorComponent References that are attached to the Target. Each reference has to be cast to the desired class.
Interesting Use Cases
This can be used to get hold of armour mesh instances that can be edited in real time (e.g. another material can be attached to create various effects).
Related Articles
Inputs | ||
---|---|---|
Pin | Reference Type | Description |
Target | Actor | Actor, in many cases PrimalCharacter |
ComponentClass | ComponentClass | ComponentClass, the class of component you would like to fetch |
Outputs | ||
---|---|---|
Pin | Reference Type | Description |
Return Value | ActorComponent (Array) | An array of all components of the given type. Returned as ActorComponent, you need to cast to the desired type. |