unreal.DataprepFloatFetcher

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

Bases: DataprepFetcher

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

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepCore

  • File: DataprepFloatFetcher.h

fetch(object) -> (float, 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