What & How & Why

差别

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

到此差别页面的链接

后一修订版
前一修订版
vfx:houdini:vex:functions:attribute_and_intrinsics [2020/05/14 01:52] – 创建 codingharevfx:houdini:vex:functions:attribute_and_intrinsics [2021/11/11 08:08] (当前版本) codinghare
行 1: 行 1:
-======Attribute AND Intrinsics======+======Attribute Intrinsics======
 Attribute AND Intrinsics in VEX //Ver. 18.0//  Attribute AND Intrinsics in VEX //Ver. 18.0// 
-===== ===== +---- 
 +====Attrib==== 
 +===point=== 
 +<code vex> 
 +//功能:读取指定的点属性 
 +//返回:返回类型与需要读取的属性相同。返回值指定的点的属性值,如果点不存在则返回 -1。 
 +/* 使用 */ 
 +//可以对 intrinsic 属性进行读取 
 +//可以使用 geohandle 或者 path (op:/path) 
 +//Point number 可以用@P 循环选定所有点,也可以指定具体的点编号对指定点操作 
 +<type> point(<geometry>geometry, string attribute_name, int pointnumber) 
 +//FIXME 
 +<type>[] point(<geometry>geometry, string attribute_name, int pointnumber) 
 +</code>