FlutterSceneSkinReduction class final
Joint subsets the renderer import substituted for skins whose joint count exceeds Flutter Scene's fixed joint-palette capacity.
A glTF skin may list every joint of the skeleton while each mesh only
weights a few of them. When such a skin is larger than the renderer's
palette, the import gives each mesh node its own skin that keeps only the
joints its vertices reference and rewrites the mesh's JOINTS_0
attribute to index that subset. The parsed core model is unchanged; this
value records the per-node remap so vertex data the adapter packs itself
(reusable morph geometry) indexes the same subset.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jointSlotRemapsByNode
→ Map<
int, List< int> > -
For each reduced glTF node index, the original skin joint slot to its
reduced slot, or
-1for a joint the node's mesh does not weight.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remapForNode(
int nodeIndex) → List< int> ? -
The remap for
nodeIndex, or null when its skin was not reduced. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited