setImages
Sets the images displayed in the 3D scene.
Example
Usage
const images = [
{
url: "https://placehold.co/400",
size: {
height: 10,
width: 10
},
transform: {
position: {
x: 1.0,
y: 1.0,
z: 0.0
},
rotation: {
centerOfRotation: {
x: 1.0,
y: 0.0,
z: 0.0
},
angle: 1,
x: 1.0,
y: 0.0,
z: 0.0
}
}
}
];
viewer3d.setImages(images);Parameters
images
List of images to display.
Type | Required |
|---|---|
Array[Image] | Yes |