# IntegerLens

> Talos 0.6 · Since 0.6

The lens a {@link PixelScaleConfig} asks for in a viewport `pixelHeight` tall.

## 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`. |
