2023-08-30 15:59:51 -07:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class GltfPresentation(str, Enum):
|
2023-11-27 16:01:20 -08:00
|
|
|
"""Describes the presentation style of the glTF JSON.""" # noqa: E501
|
2023-08-30 15:59:51 -07:00
|
|
|
|
2023-11-27 16:01:20 -08:00
|
|
|
"""# Condense the JSON into the smallest possible size. """ # noqa: E501
|
|
|
|
COMPACT = "compact"
|
|
|
|
"""# Expand the JSON into a more human readable format.
|
2023-08-30 15:59:51 -07:00
|
|
|
|
2023-11-27 16:01:20 -08:00
|
|
|
This is the default setting. """ # noqa: E501
|
|
|
|
PRETTY = "pretty"
|
|
|
|
|
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|