GltfRoot class

Properties

accessors List<RawAccessor>
latefinal
animations List<Animation>
latefinal
buffers List<Buffer>
latefinal
bufferViews List<BufferView>
latefinal
cameras List<Camera>
latefinal
chunks List<GlbChunk>
latefinal
hashCode int
The hash code for this object.
no setterinherited
images List<Image>
latefinal
materials List<Material>
latefinal
meshes List<Mesh>
latefinal
nodes List<Node>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplers List<Sampler>
latefinal
scene int
latefinal
scenes List<Scene>
latefinal
skins List<Skin>
latefinal
textures List<Texture>
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readChunk(GltfRef<Buffer> ref) Future<Uint8List>
readChunkFrom(String uri) Future<Uint8List>
resolve<T extends GltfNode>(int index) → T
toFlameModel([int? scene]) Model
toFlameNodes([int? scene]) Map<int, ModelNode>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

from({required String prefix, required Map<String, dynamic> json, required List<GlbChunk> chunks}) Future<GltfRoot>