API reference
API reference
Select your platform
No SDKs available
No versions available

GLTFTransformType

GLTFTransformType

enum GLTFTransformType : Enum<GLTFTransformType>
An enumeration representing the different types of transformations that can be applied to a node in a GLTF file.

Entries

NameSummary
NONE
NONE: No transformation is applied to the node.
LOCAL
LOCAL: The node is transformed relative to its parent node.
GLOBAL
GLOBAL: The node is transformed relative to the root node.
UNDEFINED
Undefined: The transformation type is not specified.

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): GLTFTransformType
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.)
values
fun values(): Array<GLTFTransformType>
Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon