disguise developers

Python API

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

Cylindrical

Properties

anchor : int

Options: {0: ‘Bottom’, 1: ‘Centre’, 2: ‘Top’}
UserName: Anchor

arc : float

Arc around the cylinder axis the content is projected from.
Extends symmetrically either side of the X axis of the object.

UserName: Arc

pixelBorder : int

UV islands on screens are expanded by this many pixels to cover edge sampling artifacts such as black fringing.
Note that there must be an equivalent amount of empty space in the screen UV map to take advantage of this.

UserName: Border expansion

projectionMode : int

Whether the content is on the inside or outside of the target surface.

Options: {0: ‘Outside’, 1: ‘Inside’}
UserName: Projection mode

Constructors

__init__(self)