scale
Synopsis
scale a 3D mesh in X, Y, and/or Z
Input Port
Parameters
Output Port
Description
scale scales a mesh in the X, Y, and/or Z direction, making it appear larger or smaller in the renderer window. The grid is unchanged, but its associated xform transformation matrix is altered.
Input
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
UIsliders. Floats. These inputs independently control the degree of X, Y, and Z scaling. The default is 1.0 (leave at current size). The range is -10.0 to 10.0.
Output Port
The output field is the same mesh as the input mesh, but with its xform matrix changed to reflect the scaling.
Example
Libraries.Examples.Visualization.Mirror_Scale
v/dv_examp/mirr_scl.vFile
See also related modules