unreal.DataprepBoolFetcher

class unreal.DataprepBoolFetcher(outer: Object | None = None, name: Name | str = 'None')

Bases: DataprepFetcher

The bool fetcher is a specialized type of fetcher for the booleans

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepCore

  • File: DataprepBoolFetcher.h

fetch(object) bool or None

This function is called when the fetcher is executed. If your defining your fetcher in Blueprint this is the function to override.

Parameters:

object (Object) – The object from which the fetcher should try to retrieve the boolean

Returns:

The fetched bool

out_fetch_succeded (bool): If the fetcher managed to retrieve the boolean from the object this bool must be set to true

Return type:

bool or None