ModelFormat

enum ModelFormat : Enum<ModelFormat>

Represents supported 3D model formats.

Entries

Link copied to clipboard

USD variants, commonly for model files that has an extension of ".usdz", ".usda", and ".usdc".

Link copied to clipboard

GLTF variants, commonly for model files that has an extension of ".glb" and ".gltf".

Properties

Link copied to clipboard
val entries: EnumEntries<ModelFormat>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val formatString: String

The string identifier, which is typically used in file extensions or content types.

Functions

Link copied to clipboard
fun valueOf(value: String): ModelFormat

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<ModelFormat>

Returns an array containing the constants of this enum type, in the order they're declared.