FlutterSceneVrmAsset class final
Parsed VRM model, imported Flutter Scene root, and runtime binding.
Properties
-
alphaCorrectedMaterialIndices
→ Set<
int> -
glTF material indices whose alpha mode and sidedness were restored after
Flutter Scene import.
final
- binding → FlutterSceneVrmBinding
-
Binding from the parsed model to rootNode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → VrmModel
-
Parsed renderer-neutral VRM model.
final
- rootNode → Node
-
Flutter Scene root imported from the same GLB bytes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
straightAlphaTextureIndices
→ Set<
int> -
glTF texture indices decoded and uploaded as straight-alpha RGBA.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromGlbAsset(
String assetPath, {AssetBundle? bundle, VrmValidationMode validation = VrmValidationMode.strict, GltfUriResolver? uriResolver, FlutterSceneVrmBindingOptions? bindingOptions, int? jointPaletteCapacity}) → Future< FlutterSceneVrmAsset> - Loads a VRM GLB asset into both flvtterm core and Flutter Scene.
-
fromGlbBytes(
Uint8List bytes, {VrmValidationMode validation = VrmValidationMode.strict, GltfUriResolver? uriResolver, FlutterSceneVrmBindingOptions? bindingOptions, bool adoptBytes = false, int? jointPaletteCapacity}) → Future< FlutterSceneVrmAsset> - Loads a VRM GLB from bytes into both flvtterm core and Flutter Scene.