- class tiled.structures.array.Kind(value)[source]¶
The term “kind” comes from the numpy API as well.
Note: At import time, the environment variable
TILED_ALLOW_OBJECT_ARRAYSis checked. If it is set to anything other than
"0", then this Enum gets an additional member:
object = "O"
to support numpy ‘object’-type arrays which hold generic Python objects. Numpy ‘object’-type arrays are not enabled by default because their binary representation is not interpretable by clients other than Python. It is recommended to convert your data to a non-object type if possible so that it can be read by non-Python clients.
- __init__(*args, **kwargs)¶