表达式全局变量
部分全局变量等价于以 @
开头的变量来适配 VEX Snippets 中的变量。
Snippet (片段)是编程用语,用来表示那些可以重复利用的代码片段。
Playback 回放
|
|
Description |
---|---|---|
|
每秒回放的帧数 (也可以通过播放栏上的设置修改). |
|
|
动画起始帧的帧数字 (也可以通过播放栏上的设置修改). $NFRAMES (动画帧数) = $FEND - $FSTART + 1. |
|
|
动画末帧的帧数字(也可以通过播放栏上的设置修改). |
|
|
当前帧数字, 这是个非常有用的变量,尤其是给渲染的序列帧文件编号 |
|
|
|
浮点帧数字 |
|
动画的总帧数 |
|
|
播放栏中显示的第一帧的帧数字。 播放栏可以显示长动画中的特定部分,使你可以专注于编辑这部分动画。 $RFSTART 和 $RFEND 控制播放栏显示特定部分的长度 |
|
|
播放栏中显示的最后一帧的帧数字 |
|
|
|
以秒为单位的当前时间, 等同于 ($F-1)/$FPS |
|
秒为单位的动画总时长 |
|
|
秒为单位的动画开始时间 |
|
|
秒为单位的动画结束时间 |
General 通用
|
包含了当前TAKE(拍摄)的名称 |
|
|
数学常数 e (2.71828…). |
|
|
Houdini的安装目录 |
|
|
|
|
|
包含当前场景文件的文件目录 |
|
|
包含扩展名的,当前场景文件的完整路径 |
|
|
不包含扩展名的当前场景文件完整路径。你可以用此变量基于当前场景名称创建不同扩展名的文件。 |
|
|
你的 Home 目录 |
|
|
你的 project directory.(工程目录) |
|
|
数学常数 pi (3.1415926…). |
Channels 通道
|
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 |
COPs
|
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 |
Render nodes
|
Current frame being rendered. |
|
Number of frames being rendered. |