updateImage
Updates the specified image. Only the given properties change.
Usage
const imageId = "image-1";
viewer3d.updateImage(imageId, {
opacity: 0.5,
transform: {
position: {
x: 2.0,
y: 1.0,
z: 0.0
}
}
});Parameters
imageId
Id of the image to update.
Type | Required |
|---|---|
String | Yes |
image
Properties to update.
Type | Required |
|---|---|
Partial Image | Yes |