MeshOperations mixin

Mixin that adds mesh querying and manipulation to ModelViewerProController.

Provides methods to list mesh names, toggle visibility, and change the colour of individual meshes in a loaded GLB / GLTF model.

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webViewController → WebViewController?
The WebViewController supplied by the owning controller.
no setter

Methods

getAvailableMeshes() Future<List<String>>
Returns all named mesh nodes found in the currently loaded model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setTextureColor(String meshName, String colorHex) Future<void>
Changes the base colour of the mesh named meshName.
setVisibility(String meshName, bool isVisible) Future<void>
Shows or hides the node named meshName and all its children.
toString() String
A string representation of this object.
inherited

Operators

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