MethodChannelInteractive3d class

Inheritance

Constructors

MethodChannelInteractive3d(int viewId)

Properties

cacheSelectionStream Stream<List<String>>
Stream to receive cached selection changes.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionStream Stream<List<EntityData>>
Stream to receive selection changes.
no setteroverride

Methods

clearCache() Future<void>
Method to clear all selected entities in the 3D model.
override
loadEnvironment({String? iblPath, String? iblUrl, String? skyboxPath, String? skyboxUrl}) Future<void>
Method to load the environment from assets or network URLs.
override
loadHdrBackground({String? backgroundPath, String? backgroundUrl}) Future<void>
override
loadModel({String? modelPath, String? modelUrl, required Map<String, ByteData> resources, List<String>? preselectedEntities, List<double>? selectionColor, List<PatchColor>? patchColors, bool enableCache = false, List<double>? cacheColor, bool clearSelectionsOnHighlight = false, List<SequenceConfig>? selectionSequence}) Future<void>
Method to load the model from assets or network. resources is empty for .glb models and populated for .gltf models.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshCacheHighlights() Future<void>
Method to refresh the cache highlights for a specific view.
override
removeFromCache(List<String> names) Future<void>
Method to clear specific cached entities
override
setCameraZoomLevel(double zoom) Future<void>
Method to set the camera position.
override
toString() String
A string representation of this object.
inherited
unselectEntities({List<int>? entityIds}) Future<void>
Method to unselect entities in the 3D model.
override
updatePartGroupConfig({required bool isVisible, required ModelPartGroup group}) Future<void>
Method to set the camera position.
override

Operators

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