# orthographicSize

> Projection's half-size when in orthographic mode.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

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

### Remarks

This is half of the vertical size of the projection volume. Horizontal projection size varies depending on [Projector.aspectRatio](/engine/6000.0/script-reference/unityengine/projector/aspectratio.md). Orthographic size is ignored when projection is not orthographic (see [Projector.orthographic](/engine/6000.0/script-reference/unityengine/projector/orthographic.md)). Additional Resources: [projector component](/engine/6000.0/manual/visual-effects/decals/decals-birp/class-projector.md).

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        Projector proj = GetComponent<Projector>();
        proj.orthographic = true;
        proj.orthographicSize = 2.0f;
    }
}
```
