Expression functions Global expression variables
Playbar variables
|
|
Playback speed in frames per second (as set with the Playbar controls). |
|
|
Frame number of the first frame of animation (as set with the Playbar controls). $NFRAMES (the number of frames in the animation) = $FEND - $FSTART + 1. See also $RFSTART below. |
|
|
Frame number of the last frame of animation (as set with the Playbar controls). See also $RFEND below. |
|
|
The current frame, (as set with the Playbar controls). This is a very useful variable, especially for rendered picture filename numbering. |
|
|
Floating point frame number. |
|
|
Number of frames in the animation. $NFRAMES = $FEND (the last frame of animation) - $FSTART (the first frame of animation) + 1. |
|
|
Frame number of the first frame shown in the playbar. The playbar can show a subset of the total number of frames, allowing you to focus on a particular section of a long animation. $RFSTART and $RFEND control the subset of frames shown in the playbar. |
|
|
Frame number of the last frame shown in the playbar. |
|
|
Current time in seconds. Equals ($F-1)/$FPS |
|
|
Total length of animation in seconds. |
|
|
Start time of animation in seconds. |
|
|
End time of animation in seconds. |
Global Variables
|
|
The mathematical constant pi (3.1415926…). You can use it to calculate the lengths of arcs. 2*$PI*r (radius of circle) equals the circumference. Also, pi = 180˚ expressed in radians. |
|
|
The mathematical constant e (2.71828…). |
|
|
Job directory. This defaults to the directory where you started Houdini. You can set it through the Textport. |
|
|
The name of the current .hip file. |
|
|
Contains the name of the current take. |
Channel Variables
|
|
Operator String. Contains the current OP’s name. |
|
|
Current channel name. |
|
|
In value (value at start of segment). |
|
|
Out value. |
|
|
In slope |
|
|
Out slope |
|
|
In acceleration |
|
|
Out acceleration |
|
|
Local time - not including stretch or offset |
|
|
Start time of segment |
|
|
End time of segment |
|
|
Local start time of segment |
|
|
Local end time of segment |
|
|
Previous segment start time |
|
|
Next segment end time |
COP-specific variables
|
|
Start frame of the current COP. |
|
|
End frame of the current COP. |
|
|
Number of frames for the current COP. |
|
|
Number of frames available from the first input COP. |
|
|
Gets the global frame increment value. |
|
|
Current image width. |
|
|
Current image height |
Output Driver Specific Variables
|
|
Current frame being rendered. |
|
|
Number of frames being rendered. |