houdini:exhelp detail
detail: 上流で作成した"measure"ノードで任意の値を算出後、"AttribPromote"(Detail,Primitive,Point,Vertexのどれかに設定) で名前とClassを指定。その"AttribPromote"で指定した名前でアトリビュートの中身を呼び出す。
EXAMPLES
detail("/obj/geo1/attribpromote1", "area", 0)
detail( attribpromoteの場所, 左記で作成したアトリビュート名, 指定アトリビュートの配列番号指定)
float detail (string surface_node, string attrib_name, float attrib_index)
REPLACED BY
hou.Geometry.attribValue()
Returns the value of a detail attribute.
This expression may not work if <surface_node> is the _currently
cooking_ node. Try specifying an upstream node.
EXAMPLES
detail("/obj/geo1/attribpromote1", "area", 0)
Returns the total area of the geometry, if the geometry had first
been measured and then AttribPromote had promoted the area primitive
attribute to a detail attribute with Sum as the promotion method.
EXAMPLES
detail("/obj/geo1/attribpromote1", "area", 0)
detail( attribpromoteの場所, 左記で作成したアトリビュート名, 指定アトリビュートの配列番号指定)
float detail (string surface_node, string attrib_name, float attrib_index)
REPLACED BY
hou.Geometry.attribValue()
Returns the value of a detail attribute.
This expression may not work if <surface_node> is the _currently
cooking_ node. Try specifying an upstream node.
EXAMPLES
detail("/obj/geo1/attribpromote1", "area", 0)
Returns the total area of the geometry, if the geometry had first
been measured and then AttribPromote had promoted the area primitive
attribute to a detail attribute with Sum as the promotion method.
0 コメント:
コメントを投稿