Skip to content
pixi-silk
GitHub repository
Interface

CameraInsets

import type { CameraInsets } from 'pixi-silk/ui/camera';

Space to keep free on each side of the view, in CSS pixels. A side left out is 0.

Properties#

PropertyTypeDescriptionDefined in
bottom?numberFree space below the content.ui/camera.ts:27
left?numberFree space left of the content.ui/camera.ts:29
right?numberFree space right of the content.ui/camera.ts:25
top?numberFree space above the content.ui/camera.ts:23