# ToNearest

> Scale to nearest power of two.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
ToNearest = 1
```

### Remarks

Additional Resources: [TextureImporter.npotScale](/engine/6000.0/script-reference/unityeditor/textureimporter/npotscale.md).
