disguise developers

Python API

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

CameraBookmark

Properties

fieldOfView : float

UserName: FOV

name : str

UserName: Name

pos : Vec

UserName: Position

rotation : Vec

UserName: Rotation

scale : float

UserName: Scale

type : int

Perspective/orthographic view of stage or view of feed

Options: {0: ‘Perspective’, 1: ‘Orthographic’, 2: ‘Feed view’}
UserName: Bookmark type

Methods

setFeedView(self, pos: Vec2, scale: float)

setOrthographic(self, pos: Vec, rotation: Vec, fieldOfView: float, orthographicScale: float)

setPerspective(self, pos: Vec, rotation: Vec, fieldOfView: float)