disguise developers

Python API

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

DbgObject

Methods

arrow(self, label: str, v0: Vec | Vec2, v1: Vec | Vec2, c: Colour | Col | HDRColour)

box(self, label: str, topLeft: Vec | Vec2, size: Vec | Vec2, c: Colour | Col | HDRColour)

force(self, onOff: bool)

line(self, label: str, v0: Vec | Vec2, v1: Vec | Vec2, c: Colour | Col | HDRColour)

matrix(self, label: str, mat: Mat, lineSize: float, c: Colour | Col | HDRColour)

normal(self, label: str, v0: Vec | Vec2, normal: Vec | Vec2, lineSize: float, c: Colour | Col | HDRColour)

on(self) -> bool

point(self, label: str, v0: Vec | Vec2, c: Colour | Col | HDRColour)