GltfFile

@Serializable
class GltfFile(val asset: GltfAsset?, val scene: Int? = null, val scenes: List<GltfScene>, val nodes: List<GltfNode>, val meshes: List<GltfMesh>, val accessors: List<GltfAccessor>, val materials: List<GltfMaterial>, val bufferViews: List<GltfBufferView>, val buffers: List<GltfBuffer>, val images: List<GltfImage>? = null, val textures: List<GltfTexture>? = null, val samplers: List<GltfSampler>? = null, val animations: List<GltfAnimation>? = null, val skins: List<GltfSkin>? = null, val extensions: GltfExtensions? = null, val extensionsUsed: List<String>? = null, val extensionsRequired: List<String>? = null, val cameras: List<GltfCamera>? = null)(source)

Constructors

Link copied to clipboard
constructor(asset: GltfAsset?, scene: Int? = null, scenes: List<GltfScene>, nodes: List<GltfNode>, meshes: List<GltfMesh>, accessors: List<GltfAccessor>, materials: List<GltfMaterial>, bufferViews: List<GltfBufferView>, buffers: List<GltfBuffer>, images: List<GltfImage>? = null, textures: List<GltfTexture>? = null, samplers: List<GltfSampler>? = null, animations: List<GltfAnimation>? = null, skins: List<GltfSkin>? = null, extensions: GltfExtensions? = null, extensionsUsed: List<String>? = null, extensionsRequired: List<String>? = null, cameras: List<GltfCamera>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Transient
var bufferBuffer: ByteBuffer?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Transient
lateinit var file: File
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scene: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Tools to convert GltfFile into a DNK3 scene