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

GLXFAsset

GLXFAsset

class GLXFAsset(val uri: <Error class: unknown class>, val index: Int, val name: String? = null, val scene: String? = null, val assetNodes: List<String>? = null, val transform: GLTFTransformType = GLTFTransformType.UNDEFINED)
A data class representing an asset in a GLXF file.

Constructors

NameSummary
GLXFAsset
constructor(uri: <Error class: unknown class>, index: Int, name: String? = null, scene: String? = null, assetNodes: List<String>? = null, transform: GLTFTransformType = GLTFTransformType.UNDEFINED)

Types

NameSummary
Companion
object Companion

Properties

NameSummary
assetNodes
val assetNodes: List<String>? = null
The nodes associated with the asset.
index
val index: Int
The index of the asset in the GLXF file.
name
val name: String? = null
The name of the asset.
scene
val scene: String? = null
The scene associated with the asset.
transform
val transform: GLTFTransformType
The transformation type of the asset.
uri
val uri: <Error class: unknown class>
The URI of the asset.

Companion

object Companion

Functions

NameSummary
nullGLXFAsset
fun nullGLXFAsset(): GLXFAsset
Creates a new GLXFAsset with a null URI and index -1.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon