Skip to main content

The "deform" Function

Syntax#

deform();
ArgumentTypeDescription
N/AN/ANo arguments

Description#

Initializes a segment of code containing definitions for a VNgen deformation script. Deformations are defined as being 2 columns wide and 4 rows tall by default. With this script, different dimensions can be defined at the start of a deformation script to create meshes of other sizes. Cannot be used in the regular qScript loop, but rather is intended for use in dedicated animation scripts. See Creating Custom Animations for full details.

Example#

if deform() {
def_width = 5;
def_height = 5;
}