scale
Synopsis
scale a 3D mesh in X, Y, and/or Z
Input Port
in_field
|
Mesh
|
ui_parent
|
user interface parent object
|
Parameters
X-scale
|
UIslider
|
value to scale the X axis
|
Y-scale
|
UIslider
|
value to scale the Y axis
|
Z-scale
|
UIslider
|
value to scale the Z axis
|
Output Port
out_fld
|
Mesh
|
out_obj
|
output renderable object
|
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
in_field
The input is any mesh. Any Node_Data that is present is ignored.
ui_parent
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
X-scale
Y-scale
Z-scale
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
out_fld
The output field is the same mesh as the input mesh, but with its xform matrix changed to reflect the scaling.
out_obj
This is a renderable version of the output field.
Example
Libraries.Examples.Visualization.Mirror_Scale
v/dv_examp/mirr_scl.v
File
v/modules.v
See also related modules