disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

CameraSensorPreset

Variables

Custom = 0

iPod5 = 1

iPod6 = 2

iPhone6 = 3

mako_G223 = 4

mako_G507 = 5

manta_G895 = 6

manta_G917 = 7

manta_G1236 = 8

prosilica_GT1930 = 9

prosilica_GT3400 = 10

disguise_G507 = 11

Constructors

__init__(self)

Default constructor for CameraSensorPreset

__init__(self, other: CameraSensorPreset)

Copy constructor for CameraSensorPreset

Methods

toString(self) -> str

The name of this enumerator, or an empty string if its value is not a named enumerator

Static Methods

fromInt(arg0: int) -> CameraSensorPreset

The enumerator with the given integer value, which need not be one of the named enumerators

Special Methods

__index__(self) -> int

The integer value of this enumerator, for use as a list index

__int__(self) -> int

The integer value of this enumerator

__repr__(self) -> str

The enum and enumerator names, as ; str() and print give the same

__lt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__le__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__gt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__ge__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError