Global Variables
VEX node
Provides outputs that represent all the global variables for the current VOP network type.
See also: Constant, Is Connected, Parameter, Output Variables
This operator provides outputs that represent all the global variables for the current VOP network type. There are no inputs to this operator.
The variables available from this operator will almost always include all of the input variables provided in the Output Variables operator. The difference between these two operators is that the Output Variables operator only provides inputs for those global variables that can be changed.
Every VOP network type has a set of global variables associated with it. These are the variables inherent to the VEX context that the VOP network operates in. For shading contexts (such as Surface and Displacement) these will be variables like the position of the point on the geometry being shaded (P), or the normal of the surface at the point being shaded (N). For Sop or Pop Operator networks, these variables include the position of the point being manipulated (P), and the point number of the point being manipulated (ptnum).
Inputs
None.
Outputs
The list of available outputs depends on the current VOP network type. The number of outputs depends on whether “Output A Single Variable” is enabled.
|
When found in a VEX Surface SHOP Type network, Outputs include |
|
Parameters
|
Output A Single Variable |
When enabled, it shrinks the number of outputs to one and outputs only the global variable chosen from the menu below. This option is very useful when the operator is part of a subnetwork that needs to be accessed by different contexts. |
|
Variable Name |
Menu of all available global variables. It works in conjunction with the toggle above it. |