# size

> The size of the Scene view measured diagonally.

## Definition

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

```csharp
public float size { get; set; }
```

### Remarks

Use with [pivot](/engine/6000.6/script-reference/unityeditor/sceneview/pivot.md), [rotation](/engine/6000.6/script-reference/unityeditor/sceneview/rotation.md), and [CameraSettings.fieldOfView](/engine/6000.6/script-reference/unityeditor/sceneview/camerasettings/fieldofview.md) to calculate camera transformation.

![SceneViewSizeDiagram (size)](/api/media?file=/engine/6000.6/media/images/SceneViewSizeDiagram.png)

The image above shows the math used to calculate the actual field of view. Here BC = size, and you need to find AB. ACB is a right angle, and BAC is half the field of view. That creates the expression: sin(BAC) = BC/AB, and so AB = BC/sin(BAC).
