disguise developers

Python API

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

Type

Nested in: NotchProperty

Variables

String = 0

Enum = 1

Int = 2

Int1 = 3

Int2 = 4

Float1 = 5

Float2 = 6

Float3 = 7

CameraParams = 8

Image = 9

PosQuat = 10

PosRotScale = 11

PosQuatScale = 12

Matrix4x4 = 13

Colour = 14

Float4 = 15

Unsupported = 16

Constructors

__init__(self)

__init__(self, arg0: NotchProperty.Type)

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) -> NotchProperty.Type

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