---
title: "Projection"
description: "API documentation for Projection"
url: https://developer.disguise.one/python-api/docs/projection/
---

# Projection

Base class (inherits properties and methods): _[Resource](/python-api/docs/resource#resource)_

Subclasses: _[CameraPlate](/python-api/docs/cameraplate#cameraplate)_, _[Cylindrical](/python-api/docs/cylindrical#cylindrical)_, _[DepthMapProjection](/python-api/docs/depthmapprojection#depthmapprojection)_, _[DirectProjection](/python-api/docs/directprojection#directprojection)_, _[FeedProjection](/python-api/docs/feedprojection#feedprojection)_, _[FisheyeProjection](/python-api/docs/fisheyeprojection#fisheyeprojection)_, _[LookProjection](/python-api/docs/lookprojection#lookprojection)_, _[MeshProjection](/python-api/docs/meshprojection#meshprojection)_, _[Parallel](/python-api/docs/parallel#parallel)_, _[PerspectiveProjection](/python-api/docs/perspectiveprojection#perspectiveprojection)_, _[Spherical](/python-api/docs/spherical#spherical)_

## Properties

#### **clipOutsideRegion** : _bool_

Clips pixels outside of rendered region, preserving existing colour.

_UserName: Clip outside region_

#### **filtering** : _int_

Nearest & Bilinear are pixel perfect at 100% zoom, and fast  
Multi-sample fixes issues with downscaled content but causes very slight blurring

_Options: {0: ‘Nearest’, 1: ‘Bilinear’, 2: ‘2x Multi-Sample’}  
UserName: Filtering_

#### **mask** : _[DxTexture](/python-api/docs/dxtexture#dxtexture)_

Optional bitmap to multiply with all content passing through the mapping

_UserName: Mask_

#### **mode** : _int_

#### **nContentViewpoints** : _int_ _(Read-Only)_

#### **projectionObject** : _[ProjectionObject](/python-api/docs/projectionobject#projectionobject)_

#### **proxyCanvasResolution** : _[Vec2](/python-api/docs/vec2#vec2)_ _(Read-Only)_

#### **resolution** : _[Vec2](/python-api/docs/vec2#vec2)_

Resolution of the canvas, in pixels. This is the resolution the module renders to

_UserName: Resolution_

#### **screens** : _List\[[Display](/python-api/docs/display#display)\]_

List of screens to receive module content

_UserName: Screens_

#### **setScreenSize** : _[Vec2](/python-api/docs/vec2#vec2)_

## Methods

#### **getContentViewpoints**(self, latency: _float_, fraction: _[FrameRateFraction](/python-api/docs/frameratefraction#frameratefraction)_) -> _List\[[ContentViewPoint](/python-api/docs/contentviewpoint#contentviewpoint)\]_

#### **setBorderColour**(self, c: _[Colour](/python-api/docs/colour#colour) | [Col](/python-api/docs/col#col) | [HDRColour](/python-api/docs/hdrcolour#hdrcolour)_)

#### **startEditing**(self)

#### **stopEditing**(self)
