Lines Matching refs:node
17 proc int IsSceneAnimObject(string $node)
19 string $type = nodeType($node);
20 string $childs[] = `listRelatives -pa -s $node`;
32 return node size
39 for ($node in $nodes)
41 if (!IsSceneAnimObject($node))
43 $xforms[size($xforms)] = $node;
53 global proc int nw4cSetBillboard_Get_Billboard(string $node)
55 return (`attributeQuery -n $node -ex "nw4cBillboard"`) ?
56 `getAttr ($node + ".nw4cBillboard")` : 0;
59 global proc nw4cSetBillboard_Add_Billboard(string $node)
61 if (!`attributeQuery -n $node -ex "nw4cBillboard"`)
67 -dv 0 -h 1 $node;
71 global proc nw4cSetBillboard_Set_Billboard(string $node, int $val)
73 nw4cSetBillboard_Add_Billboard($node);
74 setAttr ($node + ".nw4cBillboard") $val;
77 proc SetJob_Billboard(string $node)
79 if (!`attributeQuery -n $node -ex "nw4cBillboard"`)
83 scriptJob -p nw4cSetBillboard_Billboard -rp -ac ($node + ".nw4cBillboard")
85 + $node + "` + 1) nw4cSetBillboard_Billboard");
93 for ($node in $xforms)
95 nw4cSetBillboard_Set_Billboard($node, $val);
112 // set node name
138 string $node = $xforms[0];
140 optionMenuGrp -e -sl (`nw4cSetBillboard_Get_Billboard $node` + 1)
141 -cc ("nw4cSetBillboard_BillboardCB " + $node)
144 SetJob_Billboard($node);
188 for ($node in $xforms)
190 if (IsSceneAnimObject($node))
194 int $val = nw4cSetBillboard_Get_Billboard($node);
202 select -add $node;
213 string $msg = "Found: " + $nodeCount + " transform node";
242 // node name