unreal.KismetArrayLibrary

class unreal.KismetArrayLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Kismet Array Library

C++ Source:

  • Module: Engine
  • File: KismetArrayLibrary.h
classmethod filter_array(target_array, filter_class) -> Array(Actor)

*Filter an array based on a Class derived from Actor. * *

Parameters:
  • target_array (Array(Actor)) – The array to filter from *
  • filter_class (type(Class)) – The Actor sub-class type that acts as the filter, only objects derived from it will be returned. *
Returns:

An array containing only those objects which are derived from the class specified.

filtered_array (Array(Actor)):

Return type:

Array(Actor)