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

Returns the current anti-aliasing settings.

## Example

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

## Usage

```javascript
const settings = viewer3d.getAntiAliasingSettings();
```

## Return Value

The current anti-aliasing settings.

| **Type** |
| -------- |
| Object   |

**Properties**

| **Name**      | **Type** | **Description**                |
| ------------- | -------- | ------------------------------ |
| `isSupported` | Boolean  | Is anti-aliasing supported.    |
| `maxSamples`  | Number   | The maximum number of samples. |
| `samples`     | Number   | The number of samples.         |

## Example

```javascript
{
  samples: 0,
  maxSamples: 4,
  isSupported: true,
};
```

