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 | Int2 | Vec, scale: float)

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

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