MethodChannelInteractive3d class

Inheritance

Constructors

MethodChannelInteractive3d(int viewId)

Properties

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

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}) 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
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