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

# MeshProjection

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

## Nested Classes

-   [DebugViewType](/python-api/docs/meshprojection.debugviewtype#debugviewtype)

## Properties

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

#### **combineScreens** : _int_

Combine active screens into a single viewpoint.  
None: Each screen has its own separate frustum.  
All: All screens share a single combined frustum.  
Non-Output: Combined on non-output machines, separate on output machines.  
All Active: Active screens combined locally only.

_Options: {0: ‘None’, 1: ‘All’, 2: ‘Non-Output’, 3: ‘All Active’}  
UserName: Combine screens_

#### **debugViewType** : _[MeshProjection.DebugViewType](/python-api/docs/meshprojection.debugviewtype#debugviewtype)_

#### **enableWarp** : _bool_

Enables perspective warping to screen space on the render node in RenderStream.  
If unticked, RenderStream will stream the perspective render and the warp will happen in Designer.

_UserName: Enable warp_

#### **eye\_point** : _[Vec](/python-api/docs/vec#vec)_

Position the 3D scene is rendered from

_UserName: Eyepoint_

#### **followCamera** : _bool_

Eyepoint follows the position of any MR set or camera added to displays

_UserName: Follow camera_

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

#### **initialRotationCentre** : _[Vec](/python-api/docs/vec#vec)_ _(Read-Only)_

#### **mappingResolutionScale** : _float_

Scale of mapped content, relative to screen resolution

_UserName: Mapping resolution scale_

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

Generate extra content outside the original canvas resolution to compensate for edge effects.  
1 means 100 % of original resolution, 2 means 200 % .

_UserName: Overscan_

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

Mapping resolution in pixels per degree of arc

_UserName: Pixels per degree_

#### **renderResolutionScale** : _float_

Scale of rendered RenderStream content (before perspective warp), relative to mapping resolution

_UserName: Render resolution scale_

#### **resolutionMethod** : _int_

Method used to calculate resolution for each frustum.  
Constant: A constant fixed resolution for each frustum.  
Scaled: Frustum resolution is equal to the screen resolution multiplied by a scaling factor.  
Pixels per degree: Frustum resolution is calculated based on its field of view

_Options: {0: ‘Constant’, 1: ‘Scaled’, 2: ‘Pixels Per Degree’}  
UserName: Resolution method_

#### **rollRateLimit** : _float_

Maximum rate of change of viewpoint roll offset, in deg/s.  
Decrease to make viewpoint changes smoother, increase to make changes more responsive.

_UserName: Roll rate limit_

#### **rotationCentre** : _[Vec](/python-api/docs/vec#vec)_ _(Read-Only)_

#### **sceneOrigin** : _[SceneOrigin](/python-api/docs/sceneorigin#sceneorigin)_

Origin of the rendered scene relative to the stage

_UserName: Scene origin_

#### **zFar** : _float_

The distance of the far plane in the render frustum.

_UserName: Far clipping plane_

#### **zNear** : _float_

The distance of the near plane in the render frustum.

_UserName: Near clipping plane_

## Variables

#### **CombineScreensAll** : _Final\[int\]_ = 1

Index of the ‘All’ combine screens mode

#### **CombineScreensAllActive** : _Final\[int\]_ = 3

Index of the ‘All Active’ combine screens mode

#### **CombineScreensNonOutput** : _Final\[int\]_ = 2

Index of the ‘Non-Output’ combine screens mode

#### **CombineScreensNone** : _Final\[int\]_ = 0

Index of the ‘None’ combine screens mode

#### **ResolutionMethodConstant** : _Final\[int\]_ = 0

Index of the ‘Constant’ resolution method

#### **ResolutionMethodPixelsPerDegree** : _Final\[int\]_ = 2

Index of the ‘Pixels Per Degree’ resolution method

#### **ResolutionMethodScaled** : _Final\[int\]_ = 1

Index of the ‘Scaled’ resolution method

## Methods

#### **cameraInDisplays**(self) -> _bool_

#### **renderDebugView**(self, resolution: _[Vec2](/python-api/docs/vec2#vec2) | [Int2](/python-api/docs/int2#int2) | [Vec](/python-api/docs/vec#vec)_) -> _[DxTexture](/python-api/docs/dxtexture#dxtexture)_

#### **setDebugging**(self, b: _bool_)
