Texture.get_data_range# Texture.get_data_range( name: str | None = None, preference: FieldAssociation | str = 'point', ) → tuple[float, float][source]# Get the min and max of a named array of the texture’s image. Parameters: namestr, optionalThe name of the array to get the range. If None, the active scalars is used. preferencestr, default: “point”When scalars is specified, this is the preferred array type to search for. Must be either 'point', 'cell', or 'field'. Returns: tuple(min, max) of the named array.