Modeling3dTextureEngine class abstract

Material generation engine.

Constructors

Modeling3dTextureEngine()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

asyncDownloadTexture(String taskId, String fileSavePath) Future<void>
Downloads generated texture maps.
asyncUploadFile(String taskId, String filePath) Future<void>
Uploads images and triggers a material generation task.
cancelDownload(String taskId) Future<int>
Cancels texture map download. Returns cancellation result. 0 indicates success, and other values indicate failure.
cancelUpload(String taskId) Future<int>
Cancels image upload. Returns cancellation result. 0 indicates success, and other values indicate failure.
close() Future<void>
Disables the material generation engine.
initTask(Modeling3dTextureSetting setting) Future<Modeling3dTextureInitResult>
Initializes a material generation task.
previewTexture(String taskId, {Modeling3dTexturePreviewListener? listener}) Future<void>
Previews the texture map.
setTextureDownloadListener(Modeling3dTextureDownloadListener? listener) → void
Sets a listener for texture map download.
setTextureUploadListener(Modeling3dTextureUploadListener? listener) → void
Sets a listener for image upload.
syncGenerateTexture(String filePath, String fileSavePath, Modeling3dTextureSetting setting) Future<int>
Generates texture maps synchronously. Returns texture map generation result. 0 indicates success, and other values indicate failure.