---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/Cancellation
---

# Cancellation

## Overview

`Cancellation` is a class in Aspose.3D FOSS for Java.

Cancellation.Cancellation creates a new cancellation token instance.

This class provides 3 methods for working with Cancellation objects in Java programs.
Available methods include: `Cancellation`, `cancel`, `isCancelled`.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `cancelled`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `cancelled` | `boolean` | Read | Gets the cancelled. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Cancellation()` | Creates a new cancellation token instance |
| `isCancelled()` → `boolean` | Returns true if cancelled is set. |
| `cancel()` | Marks the token as cancelled |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)