FlutterSceneResolvedImport class final
Renderer input reconstructed from a parsed GLB, preserving core geometry.
Flutter Scene's GLB entry point cannot accept a URI resolver. When a GLB references an external buffer or image, this value rewrites the parsed JSON to use Flutter Scene's resolver-aware glTF entry point and serves the exact bytes that flvtterm core already resolved. Optional Draco and meshopt hints use core-validated ordinary geometry; required compression remains unsupported. VRM-owned required names are normalized for the glTF-only renderer while unrelated required extensions remain subject to its validation. A skin larger than the renderer's joint palette is replaced per mesh node by the joints that mesh weights (FlutterSceneSkinReduction).
Properties
- gltfJson → Uint8List
-
Reconstructed JSON glTF bytes passed to Flutter Scene.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skinReduction → FlutterSceneSkinReduction?
-
Per-node joint subsets substituted for oversized skins, or null when
every skin fits the renderer's palette as authored.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveUri(
String uri) → Future< Uint8List> - Resolves a renderer resource from the bytes accepted by core parsing.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromGltf(
GltfAsset gltf, {int? jointPaletteCapacity}) → FlutterSceneResolvedImport? -
Returns
nullwhen the GLB needs no resource, extension or skin adaptation.