# IntegerLens

> Talos 0.7 · Since 0.6

The box a {@link PixelScaleConfig} asks for in a view `pixelHeight` tall (the reference view's 1080).

## Signature

```ts
export interface IntegerLens {
  /** Screen pixels per texel: 1, 2, 3... */
  scale: number
  /** Screen pixels per world unit: `scale × texelsPerUnit`. */
  pixelsPerUnit: number
  /** Half the view's height in world units at that scale: at least half of `minHeight`. */
  halfHeight: number
}
```

Import: `import type { IntegerLens } from "@argus/gameplay"`

## Members

| Member | Signature | Description |
|---|---|---|
| `scale` | `scale: number` | Screen pixels per texel: 1, 2, 3... |
| `pixelsPerUnit` | `pixelsPerUnit: number` | Screen pixels per world unit: `scale × texelsPerUnit`. |
| `halfHeight` | `halfHeight: number` | Half the view's height in world units at that scale: at least half of `minHeight`. |
