DVGltfSummary class final

What a model contains.

Constructors

DVGltfSummary({required int triangles, required DVAabb? bounds, required List<String> nodeNames, required List<String> animations, required int meshes, required int materials, required bool isBinary, required int byteLength})
const
DVGltfSummary.fromJson(Map<String, Object?> json)
factory

Properties

animations → List<String>
Animation names, in file order; an unnamed one is animation<index>.
final
bounds → DVAabb?
The default scene's bounds in the model's own space, or null when it draws nothing.
final
byteLength → int
final
hashCode → int
The hash code for this object.
no setterinherited
isBinary → bool
Whether this was a GLB container rather than a .gltf JSON file.
final
materials → int
final
meshes → int
final
nodeNames → List<String>
Names of the named nodes, in file order.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
triangles → int
Triangles the default scene draws: each mesh counted once per node that uses it, strips and fans as the triangles they make, points and lines as none.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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