---
title: setImages
slug: viewer-3d/methods/setImages
docTags: 
createdAt: 2024-03-01T14:17:48.684Z
---

Sets the images displayed in the 3D scene.

## Example

::codepen{url="https://codepen.io/Catenda/embed/abgBzXX"}

## Usage

```javascript
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](docId\:uq36HUd--sJJ5wrLaR6Yq)] | Yes          |

