What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
vfx:houdini:vex:functions [2020/05/14 01:59] – [NOISE AND RANDOMNESS] codingharevfx:houdini:vex:functions [2020/05/14 02:00] (当前版本) – 移除 codinghare
行 1: 行 1:
-======VEX Concepts & Refs====== 
-//Ver. 18.0//  
-//VEX 的函数相关// 
-===== ===== 
- 
- 
- 
- 
- 
- 
-====MEASURE==== 
- 
- 
-====VOLUME==== 
-===Volume=== 
-==Volumesample== 
-<code vex> 
-//功能:对 volume 中的指定属性进行采样 
-//返回:该函数返回类型为 float,返回值为采样的结果。在 @primum、@inputnum 越界的情况下或者被采样 volume 不是 vector voulme 的情况下返回 0。 
-/* 使用 */ 
-//对指定数据进行采样 
-//geometry 可以为 handle 类型,也可以为路径 
-volumesample(int input_number, int primitive_number, vector position); 
-volumesample(int input_number, int "volume_name", vector position); 
-</code>