# ToNearest

> Scale to nearest power of two.

## Definition

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

```csharp
ToNearest = 1
```

### Remarks

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