unreal.DataprepIntegerFetcher

class unreal.DataprepIntegerFetcher(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: DataprepFetcher

The integer fetcher is a specialized type of fetcher for the integer

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepCore

  • File: DataprepIntegerFetcher.h

fetch(object) -> (int32, out_fetch_succeded=bool)

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 a float

Returns:

The fetched float

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

Return type:

bool