> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SensorCameraBuilder Class Reference

Represents a Camera Sensor Builder.

Inheritance diagram for SensorCameraBuilder:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_sensor_camera_builder.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=a82605f4c374fcc417b6cf373b7db2cc)

## Public Member Functions

| Type | Name |
| - | - |
| 'None' | [UpdateWavelengthSamplingFromResolution](#aa84cc20a2aa99d1c8ff2ff353cb0923a) (self, resolution) Updates the wavelength sampling from a resolution. |

> [accordion] Public Member Functions inherited from FeatureBuilder
>
> Public Member Functions inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | 'None' | [Commit](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a77581800008ea3179049e650e9d1787b) (self) Commits any edits that have been applied to the builder. |
> | 'None' | **ShowResult** (self) Updates the feature to reflect the result of an edit to the feature for all builders that support showing results. |

## Static Public Attributes

| Type | Name |
| - | - |
| str | [AxisSystem](#af0a012d49a5b59a4f43bb342b8c725c2) = property(fget=\_\_GetAxisSystem) Gets the Axis System of the Sensor. |
| str | [BlueGain](#a71412030c05833590a9a336cc1f08f49) = property(fget=\_\_GetBlueGain, fset=\_\_SetBlueGain) Gets or sets the blue gain. |
| str | [CameraMode](#a932c5ab6f914702d97b2a6bbeaf6d434) = property(fget=\_\_GetCameraMode, fset=\_\_SetCameraMode) Gets or sets the camera mode. |
| str | [ColorMode](#ae310087df32e1820a6892c84c983fe4a) = property(fget=\_\_GetColorMode, fset=\_\_SetColorMode) Gets or sets the color mode. |
| str | [DisplayAperture](#a4d9c18ae8c1b3cb4ad9955acea263bf5) = property(fget=\_\_GetDisplayAperture, fset=\_\_SetDisplayAperture) Gets or sets the property to enable the preview of the Aperture. |
| str | [DisplayCameraField](#aada3a30677e9030fceb3e874b74582d8) = property(fget=\_\_GetDisplayCameraField, fset=\_\_SetDisplayCameraField) Gets or sets the property to enable the preview of the Camera Field. |
| str | [DisplayObjectField](#ae62d490c1685125c77ecc4b6482767a2) = property(fget=\_\_GetDisplayObjectField, fset=\_\_SetDisplayObjectField) Gets or sets the property to enable the preview of the Object Field. |
| str | [DistortionFilePath](#ac2983e1196890b29cbeda75b824a9344) = property(fget=\_\_GetDistortionFilePath, fset=\_\_SetDistortionFilePath) Gets or sets the distortion file path. |
| str | [FNumber](#a3a76a25b83be29a1eaf4f98dd4d39bd5) = property(fget=\_\_GetFNumber, fset=\_\_SetFNumber) Gets or sets the F number. |
| str | [FocalLength](#ae8cfcee5f004bdc568f323c19de9f430) = property(fget=\_\_GetFocalLength, fset=\_\_SetFocalLength) Gets or sets the focal length. |
| str | [GammaCorrection](#ac2c4a2fbb62c65cc6cbec857ca9919da) = property(fget=\_\_GetGammaCorrection, fset=\_\_SetGammaCorrection) Gets or sets the gamma correction. |
| str | [GreenGain](#ab295b63fcc4308c1953aa8d0b01cb8e7) = property(fget=\_\_GetGreenGain, fset=\_\_SetGreenGain) Gets or sets the green gain. |
| str | [Height](#a37eb7401ae5f6ba4e112d3909cae96f0) = property(fget=\_\_GetHeight, fset=\_\_SetHeight) Gets or sets the height . |
| str | [HorizontalFOV](#a02946d0fe38b0f9101891760028ffc57) = property(fget=\_\_GetHorizontalFOV) Gets the Horizontal Field of View. |
| str | [HorizontalPixels](#afcfe41111470f3b67568e5a8f450d8c2) = property(fget=\_\_GetHorizontalPixels, fset=\_\_SetHorizontalPixels) Gets or sets the horizontal pixels . |
| str | [ImagerDistance](#a6141870e7231b921a2386d327823c395) = property(fget=\_\_GetImagerDistance, fset=\_\_SetImagerDistance) Gets or sets the Image Distance. |
| str | [Layer](#a80837300dfb3751c003ebb2bce3946ef) = property(fget=\_\_GetLayer, fset=\_\_SetLayer) Gets or sets the layer mode. |
| str | [PNGBits](#adddf71612af0ed60c665af22d2713147) = property(fget=\_\_GetPNGBits, fset=\_\_SetPNGBits) Gets or sets the PNG Bits. |
| str | [RedGain](#af0399142a4ec64706903368ba8de0c53) = property(fget=\_\_GetRedGain, fset=\_\_SetRedGain) Gets or sets the red gain. |
| str | [SensitivityBlueSpectrumFilePath](#a4925a1b3c302e7273aa7bf211d9a356a) = property(fget=\_\_GetSensitivityBlueSpectrumFilePath, fset=\_\_SetSensitivityBlueSpectrumFilePath) Gets or sets the sensitivity blue spectrum file path. |
| str | [SensitivityGreenSpectrumFilePath](#af68d2d4690da9703d4747c7dc6c3fdc7) = property(fget=\_\_GetSensitivityGreenSpectrumFilePath, fset=\_\_SetSensitivityGreenSpectrumFilePath) Gets or sets the sensitivity green spectrum file path. |
| str | [SensitivityMonochromaticSpectrumFilePath](#a129349ebf40f40194471213480321380) = property(fget=\_\_GetSensitivityMonochromaticSpectrumFilePath, fset=\_\_SetSensitivityMonochromaticSpectrumFilePath) Gets or sets the sensitivity monochromatic spectrum file path. |
| str | [SensitivityRedSpectrumFilePath](#acb311777bc46345b76b598eab8c451b6) = property(fget=\_\_GetSensitivityRedSpectrumFilePath, fset=\_\_SetSensitivityRedSpectrumFilePath) Gets or sets the sensitivity red spectrum file path. |
| str | [TransmittanceFilePath](#a54bf4cfb85bbf3048ae57ed6bc80b6c3) = property(fget=\_\_GetTransmittanceFilePath, fset=\_\_SetTransmittanceFilePath) Gets or sets the transmittance file path. |
| str | [VerticalFOV](#a90171c807ee2c2cb739641ea43588724) = property(fget=\_\_GetVerticalFOV) Gets the Vertical Field of View. |
| str | [VerticalPixels](#a8cf6ebb154d8cc9926c500c352fd53a4) = property(fget=\_\_GetVerticalPixels, fset=\_\_SetVerticalPixels) Gets or sets the vertical pixels . |
| str | [VisualizationRadius](#a043232eb7c476f89c1ed105dfb49b30d) = property(fget=\_\_GetVisualizationRadius, fset=\_\_SetVisualizationRadius) Gets or sets the Visualization radius. |
| str | [WavelengthEnd](#a1d3af865fff16f6eb31305404623a867) = property(fget=\_\_GetWavelengthEnd, fset=\_\_SetWavelengthEnd) Gets or sets the higher value of the wavelength range to be considered by the sensor. |
| str | [WavelengthResolution](#a4d829d8a46f0614c7c32b78ae1602fd9) = property(fget=\_\_GetWavelengthResolution) Gets the Wavelength resolution. |
| str | [WavelengthSampling](#a1a2c2043920b4b7bb6308cb22e73ec13) = property(fget=\_\_GetWavelengthSampling, fset=\_\_SetWavelengthSampling) Gets or sets the wavelength sampling. |
| str | [WavelengthStart](#a93c3bc11064cbd8e5885016a97877d3e) = property(fget=\_\_GetWavelengthStart, fset=\_\_SetWavelengthStart) Gets or sets the lower value of the wavelength range to be considered by the sensor. |
| str | [WhiteBalanceBlueSpectrumFilePath](#ac58c98d60a2003a39c7b14f1cfb72589) = property(fget=\_\_GetWhiteBalanceBlueSpectrumFilePath, fset=\_\_SetWhiteBalanceBlueSpectrumFilePath) Gets or sets the white balance blue spectrum file path. |
| str | [WhiteBalanceGreenSpectrumFilePath](#abeda2924267b2e290da58a7375b9e53f) = property(fget=\_\_GetWhiteBalanceGreenSpectrumFilePath, fset=\_\_SetWhiteBalanceGreenSpectrumFilePath) Gets or sets the white balance green spectrum file path. |
| str | [WhiteBalanceMode](#a956903ef214a82a051a7da04daf016e7) = property(fget=\_\_GetWhiteBalanceMode, fset=\_\_SetWhiteBalanceMode) Gets or sets the white balance mode. |
| str | [WhiteBalanceRedSpectrumFilePath](#aa9dd2b1b7befe069a71b4c454521f21d) = property(fget=\_\_GetWhiteBalanceRedSpectrumFilePath, fset=\_\_SetWhiteBalanceRedSpectrumFilePath) Gets or sets the white balance red spectrum file path. |
| str | [Width](#a096a0624e4fd3f618dc24f10ca3d695c) = property(fget=\_\_GetWidth, fset=\_\_SetWidth) Gets or sets the width . |

> [accordion] Static Public Attributes inherited from FeatureBuilder
>
> Static Public Attributes inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | str | [Feature](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#af5dac7005c95ef44c2b66d7270709d0b) = property(fget=\_\_GetFeature) Returns the feature being edited, or the created feature if the builder is being used in creation mode. |
> | str | [FullName](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a6aac8aea55e1f962045d07a12b6569ea) = property(fget=\_\_GetFullName) Gets the full name of the feature being edited. |
> | str | [Name](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a19218d0239b929ca8aecfa629d0185d0) = property(fget=\_\_GetName, fset=\_\_SetName) Gets or sets the name of the feature being edited. |
> | str | [NameWithContext](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a89ee075a30b71ff6e3192d6bd6dd5515) = property(fget=\_\_GetNameWithContext) Gets the name with context of the feature being edited. |

## Detailed Description

Represents a Camera Sensor Builder.

The Camera Sensor Builder creates or edits Camera Sensor features. \


To create a new instance of this class, use FeatureCollection.CreateSensorCameraBuilder.\


With a surface source, you can simulate rays integration as in a real camera according to the camera parameters set.

## Member Function Documentation

### UpdateWavelengthSamplingFromResolution()

```python theme={null}
'None' UpdateWavelengthSamplingFromResolution(
    self,
    resolution
)
```

Updates the wavelength sampling from a resolution.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | Resolution | Double. |

## Member Data Documentation

### AxisSystem

```python theme={null}
str AxisSystem = property(fget=__GetAxisSystem)
```

`static`

Gets the Axis System of the Sensor.

**Value type**: AxisSystem object.

### BlueGain

```python theme={null}
str BlueGain = property(fget=__GetBlueGain, fset=__SetBlueGain)
```

`static`

Gets or sets the blue gain.

**Prerequisite**: The WhiteBalanceMode property must be 2.\


**Value type**: Double.\


The default value is 1.0.

### CameraMode

```python theme={null}
str CameraMode = property(fget=__GetCameraMode, fset=__SetCameraMode)
```

`static`

Gets or sets the camera mode.

The values are:\
&#x20;0 - Geometric, it is a simplified version of the Camera Sensor definition parameters.\
&#x20;1 - Photometric / Colorimetric, it allows you to set every Camera Sensor parameters, including the photometric definition parameters. \


**Value type**: Integer.\


The default value is 0.

### ColorMode

```python theme={null}
str ColorMode = property(fget=__GetColorMode, fset=__SetColorMode)
```

`static`

Gets or sets the color mode.

**Prerequisite**: The CameraMode property must be 1.\


The values are:\
&#x20;0 - Monochrome, the simulation results are available in grey scale.\
&#x20;1 - Color, the simulation results are available in color according to the White Balance mode.\


**Value type**: Integer.\


The default value is 1.

### DisplayAperture

```python theme={null}
str DisplayAperture = property(fget=__GetDisplayAperture, fset=__SetDisplayAperture)
```

`static`

Gets or sets the property to enable the preview of the Aperture.

True: Displays the Aperture.\
&#x20;False: Does not display the Aperture\


**Value type**: Boolean.\


The default value is True.

### DisplayCameraField

```python theme={null}
str DisplayCameraField = property(fget=__GetDisplayCameraField, fset=__SetDisplayCameraField)
```

`static`

Gets or sets the property to enable the preview of the Camera Field.

True: Displays the Camera Field.\
&#x20;False: Does not display the Camera Field\


**Value type**: Boolean.\


The default value is True.

### DisplayObjectField

```python theme={null}
str DisplayObjectField = property(fget=__GetDisplayObjectField, fset=__SetDisplayObjectField)
```

`static`

Gets or sets the property to enable the preview of the Object Field.

True: Displays the Object Field.\
&#x20;False: Does not display the Object Field\


**Value type**: Boolean.\


The default value is True.

### DistortionFilePath

```python theme={null}
str DistortionFilePath = property(fget=__GetDistortionFilePath, fset=__SetDistortionFilePath)
```

`static`

Gets or sets the distortion file path.

**Value type**: String.\


The default value is an empty file path (string).

### FNumber

```python theme={null}
str FNumber = property(fget=__GetFNumber, fset=__SetFNumber)
```

`static`

Gets or sets the F number.

Represents the aperture of the front lens.\


**Value type**: Double.\
&#x20;**Range**: The value must be superior to 0.\


The default value is 15.0.

### FocalLength

```python theme={null}
str FocalLength = property(fget=__GetFocalLength, fset=__SetFocalLength)
```

`static`

Gets or sets the focal length.

Distance between the center of the optical system and the focus.\


**Value type**: Double (in mm).\
&#x20;**Range**: The value must be superior to 0.\


The default value is 15.0 mm.

### GammaCorrection

```python theme={null}
str GammaCorrection = property(fget=__GetGammaCorrection, fset=__SetGammaCorrection)
```

`static`

Gets or sets the gamma correction.

**Prerequisite**: The CameraMode property must be 1.\


Compensates the curve before the display on the screen.\


**Value type**: Double.\


The default value is 2.2.

### GreenGain

```python theme={null}
str GreenGain = property(fget=__GetGreenGain, fset=__SetGreenGain)
```

`static`

Gets or sets the green gain.

**Prerequisite**: The WhiteBalanceMode property must be 2.\


**Value type**: Double.\


The default value is 1.0.

### Height

```python theme={null}
str Height = property(fget=__GetHeight, fset=__SetHeight)
```

`static`

Gets or sets the height .

Defines the sensor's height.\


**Value type**: Double (in mm).\
&#x20;**Range**: The value must be superior to 0.\


The default value is 5.0 mm.

### HorizontalFOV

```python theme={null}
str HorizontalFOV = property(fget=__GetHorizontalFOV)
```

`static`

Gets the Horizontal Field of View.

**Value type**: Double.\


### HorizontalPixels

```python theme={null}
str HorizontalPixels = property(fget=__GetHorizontalPixels, fset=__SetHorizontalPixels)
```

`static`

Gets or sets the horizontal pixels .

Defines the horizontal pixels number corresponding to the camera resolution.\


**Value type**: Integer.\
&#x20;**Range**: The value must be superior to 0.\


The default value is 640.

### ImagerDistance

```python theme={null}
str ImagerDistance = property(fget=__GetImagerDistance, fset=__SetImagerDistance)
```

`static`

Gets or sets the Image Distance.

**Value type**: Double (in mm).\


The default value is 15.0 mm.

### Layer

```python theme={null}
str Layer = property(fget=__GetLayer, fset=__SetLayer)
```

`static`

Gets or sets the layer mode.

The values are:\
&#x20;0 - None, the simulation generates a Speos360 file with one layer for all sources.\
&#x20;1 - Data separated by Source, the result includes one layer per active source.\


**Value type**: Integer.\


The default value is 0.

### PNGBits

```python theme={null}
str PNGBits = property(fget=__GetPNGBits, fset=__SetPNGBits)
```

`static`

Gets or sets the PNG Bits.

**Prerequisite**: The CameraMode property must be 1.\


The values are:\
&#x20;0 - 8 Bits.\
&#x20;1 - 10 Bits.\
&#x20;2 - 12 Bits.\
&#x20;3 - 16 Bits.\


**Value type**: Integer.\


The default value is 3.

### RedGain

```python theme={null}
str RedGain = property(fget=__GetRedGain, fset=__SetRedGain)
```

`static`

Gets or sets the red gain.

**Prerequisite**: The WhiteBalanceMode property must be 2.\


**Value type**: Double.\


The default value is 1.0.

### SensitivityBlueSpectrumFilePath

```python theme={null}
str SensitivityBlueSpectrumFilePath = property(fget=__GetSensitivityBlueSpectrumFilePath, fset=__SetSensitivityBlueSpectrumFilePath)
```

`static`

Gets or sets the sensitivity blue spectrum file path.

**Prerequisite**: The ColorMode property must be 1.\


**Value type**: String.\


The default value is an empty file path (string).

### SensitivityGreenSpectrumFilePath

```python theme={null}
str SensitivityGreenSpectrumFilePath = property(fget=__GetSensitivityGreenSpectrumFilePath, fset=__SetSensitivityGreenSpectrumFilePath)
```

`static`

Gets or sets the sensitivity green spectrum file path.

**Prerequisite**: The ColorMode property must be 1.\


**Value type**: String.\


The default value is an empty file path (string).

### SensitivityMonochromaticSpectrumFilePath

```python theme={null}
str SensitivityMonochromaticSpectrumFilePath = property(fget=__GetSensitivityMonochromaticSpectrumFilePath, fset=__SetSensitivityMonochromaticSpectrumFilePath)
```

`static`

Gets or sets the sensitivity monochromatic spectrum file path.

**Prerequisite**: The ColorMode property must be 0.\


**Value type**: String.\


The default value is an empty file path (string).

### SensitivityRedSpectrumFilePath

```python theme={null}
str SensitivityRedSpectrumFilePath = property(fget=__GetSensitivityRedSpectrumFilePath, fset=__SetSensitivityRedSpectrumFilePath)
```

`static`

Gets or sets the sensitivity red spectrum file path.

**Prerequisite**: The ColorMode property must be 1.\


**Value type**: String.\


The default value is an empty file path (string).

### TransmittanceFilePath

```python theme={null}
str TransmittanceFilePath = property(fget=__GetTransmittanceFilePath, fset=__SetTransmittanceFilePath)
```

`static`

Gets or sets the transmittance file path.

**Value type**: String.\


The default value is an empty file path (string).

### VerticalFOV

```python theme={null}
str VerticalFOV = property(fget=__GetVerticalFOV)
```

`static`

Gets the Vertical Field of View.

**Value type**: Double.\


### VerticalPixels

```python theme={null}
str VerticalPixels = property(fget=__GetVerticalPixels, fset=__SetVerticalPixels)
```

`static`

Gets or sets the vertical pixels .

Defines the vertical pixels number corresponding to the camera resolution.\


**Value type**: Integer.\
&#x20;**Range**: The value must be superior to 0.\


The default value is 480.

### VisualizationRadius

```python theme={null}
str VisualizationRadius = property(fget=__GetVisualizationRadius, fset=__SetVisualizationRadius)
```

`static`

Gets or sets the Visualization radius.

Changes the radius of the Object field of the camera.\


**Value type**: Double (in mm).\
&#x20;**Range**: The parameter must be superior to 0.0.\


The default value is 1000.0 mm.

### WavelengthEnd

```python theme={null}
str WavelengthEnd = property(fget=__GetWavelengthEnd, fset=__SetWavelengthEnd)
```

`static`

Gets or sets the higher value of the wavelength range to be considered by the sensor.

**Prerequisite**: The CameraMode property must be 1.\


The sensor does not take into account wavelengths beyond the borders that you define.\


**Value type**: Double (in nm).\


The default value is 700.0 nm.

### WavelengthResolution

```python theme={null}
str WavelengthResolution = property(fget=__GetWavelengthResolution)
```

`static`

Gets the Wavelength resolution.

**Prerequisite**: The CameraMode property must be 1.\


**Value type**: Double.\


### WavelengthSampling

```python theme={null}
str WavelengthSampling = property(fget=__GetWavelengthSampling, fset=__SetWavelengthSampling)
```

`static`

Gets or sets the wavelength sampling.

**Prerequisite**: The CameraMode property must be 1.\


**Value type**: Integer.\
&#x20;**Range**: The value must be superior to 0.\


The default value is 13.

### WavelengthStart

```python theme={null}
str WavelengthStart = property(fget=__GetWavelengthStart, fset=__SetWavelengthStart)
```

`static`

Gets or sets the lower value of the wavelength range to be considered by the sensor.

**Prerequisite**: The CameraMode property must be 1.\


The sensor does not take into account wavelengths beyond the borders that you define.\


**Value type**: Double (in nm).\


The default value is 400.0 nm.

### WhiteBalanceBlueSpectrumFilePath

```python theme={null}
str WhiteBalanceBlueSpectrumFilePath = property(fget=__GetWhiteBalanceBlueSpectrumFilePath, fset=__SetWhiteBalanceBlueSpectrumFilePath)
```

`static`

Gets or sets the white balance blue spectrum file path.

**Prerequisite**: The WhiteBalanceMode property must be 3.\


**Value type**: String.\


The default value is an empty file path (string).

### WhiteBalanceGreenSpectrumFilePath

```python theme={null}
str WhiteBalanceGreenSpectrumFilePath = property(fget=__GetWhiteBalanceGreenSpectrumFilePath, fset=__SetWhiteBalanceGreenSpectrumFilePath)
```

`static`

Gets or sets the white balance green spectrum file path.

**Prerequisite**: The WhiteBalanceMode property must be 3.\


**Value type**: String.\


The default value is an empty file path (string).

### WhiteBalanceMode

```python theme={null}
str WhiteBalanceMode = property(fget=__GetWhiteBalanceMode, fset=__SetWhiteBalanceMode)
```

`static`

Gets or sets the white balance mode.

**Prerequisite**: The ColorMode property must be 1.\


The values are:\
&#x20;0 - None.\
&#x20;1 - Grey World.\
&#x20;2 - Use White Balance.\
&#x20;3 - Display Primaries.\


**Value type**: Integer.\


The default value is 0.

### WhiteBalanceRedSpectrumFilePath

```python theme={null}
str WhiteBalanceRedSpectrumFilePath = property(fget=__GetWhiteBalanceRedSpectrumFilePath, fset=__SetWhiteBalanceRedSpectrumFilePath)
```

`static`

Gets or sets the white balance red spectrum file path.

**Prerequisite**: The WhiteBalanceMode property must be 3.\


**Value type**: String.\


The default value is an empty file path (string).

### Width

```python theme={null}
str Width = property(fget=__GetWidth, fset=__SetWidth)
```

`static`

Gets or sets the width .

Defines the sensor's width.\


**Value type**: Double (in mm).\
&#x20;**Range**: The value must be superior to 0.\


The default value is 5.0 mm.

The documentation for this class was generated from the following file:

* **SpeosNX.py**
