disguise developers

Designer Plugins

Plugins for Disguise Designer software.

AlignmentPoint

A labelled QuickAlign point that links to a specific vertex in an alignment object’s mesh.

Properties

iVert : int

The vertex index pointing to the vertex in the linked object’s mesh.

UserName: Vertex index

isDeformPoint : bool

Whether this alignment point is enabled for OmniCal Reshape.
At least two reshape-enabled points are required to reshape an aligned mesh (or parts of it).

UserName: Reshape

isValid : bool (Read-Only)

/** Whether the AlignmentPoint’s object and linked vertex index are valid. */

label : str

The alignment point label displayed in QuickAlign.

UserName: Label

meshName : str

The mesh of the object that this alignment point is linked to.

UserName: Mesh

normal : Vec (Read-Only)

/** Vertex normal (in local space) for linked mesh vertex, or (0,0,0) if alignment point is invalid. */

pos : Vec (Read-Only)

/** Vertex position (in local space) for linked mesh vertex, or (0,0,0) if alignment point is invalid. */

screen : Object

The projection surface or object that this alignment point is linked to.

UserName: Object

worldNormal : Vec (Read-Only)

/** Vertex normal (in world space) for linked mesh vertex, or (0,0,0) if alignment point is invalid. */

worldPos : Vec (Read-Only)

/** Vertex position (in world space) for linked mesh vertex, or (0,0,0) if alignment point is invalid. */

Methods

getMobileCamSpacePosOfVert(self, cm: CameraMats, localToWorld: Mat) -> Vec2

hasMeshChanged(self, notify: bool) -> bool

Whether mesh has changed since last frame in a way that invalidates the alignment point.
This is any change that significantly alters the vertex structure,
including new mesh object or ReShape operations.