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

# OptiCalCameraPlan

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

## Properties

#### **\_imageRotation** : _int_

#### **blobStats** : _[PlannedBlobStatistics](/python-api/docs/plannedblobstatistics#plannedblobstatistics)_

#### **camParams** : _[PlannedMobileCamParams](/python-api/docs/plannedmobilecamparams#plannedmobilecamparams)_

#### **cropFactor** : _float_ _(Read-Only)_

#### **focalLength35mm** : _float_ _(Read-Only)_

#### **isSimulated** : _int_

#### **mobileCam** : _[MobileCam](/python-api/docs/mobilecam#mobilecam)_ _(Read-Only)_

#### **mobileCameraRef** : _[MobileCameraReference](/python-api/docs/mobilecamerareference#mobilecamerareference)_

#### **name** : _str_

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

#### **throwRatio** : _float_

## Methods

#### **getCameraFocalLengthPreset**(self) -> _int_

#### **getCameraPreset**(self) -> _[CameraSensorPreset](/python-api/docs/camerasensorpreset#camerasensorpreset)_

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

#### **imageRotation**(self) -> _int_

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

#### **setCameraPreset**(self, sensorPreset: _[CameraSensorPreset](/python-api/docs/camerasensorpreset#camerasensorpreset)_, focalLengthPreset: _[CameraFocalLengthPreset](/python-api/docs/camerafocallengthpreset#camerafocallengthpreset)_)

#### **setImageRotation**(self, angle: _int_)

## Static Methods

#### **getCameraFocalLengthPresetNames**() -> _List\[str\]_

#### **getCameraFocalLengthPresetValues**() -> _List\[int\]_

#### **getCameraSensorPresetNames**() -> _List\[str\]_

#### **getCameraSensorPresetValues**() -> _List\[int\]_
