Lines Matching refs:node
16 proc int IsSceneAnimObject(string $node)
18 string $type = nodeType($node);
19 string $childs[] = `listRelatives -pa -s $node`;
31 return node size
38 for ($node in $nodes)
40 if (!IsSceneAnimObject($node))
42 $xforms[size($xforms)] = $node;
52 global proc int nw4cSetBillboard_Get_Billboard(string $node)
54 return (`attributeQuery -n $node -ex "nw4cBillboard"`) ?
55 `getAttr ($node + ".nw4cBillboard")` : 0;
58 global proc nw4cSetBillboard_Add_Billboard(string $node)
60 if (!`attributeQuery -n $node -ex "nw4cBillboard"`)
66 -dv 0 -h 1 $node;
70 global proc nw4cSetBillboard_Set_Billboard(string $node, int $val)
72 nw4cSetBillboard_Add_Billboard($node);
73 setAttr ($node + ".nw4cBillboard") $val;
76 proc SetJob_Billboard(string $node)
78 if (!`attributeQuery -n $node -ex "nw4cBillboard"`)
82 scriptJob -p nw4cSetBillboard_Billboard -rp -ac ($node + ".nw4cBillboard")
84 + $node + "` + 1) nw4cSetBillboard_Billboard");
92 for ($node in $xforms)
94 nw4cSetBillboard_Set_Billboard($node, $val);
111 // set node name
137 string $node = $xforms[0];
139 optionMenuGrp -e -sl (`nw4cSetBillboard_Get_Billboard $node` + 1)
140 -cc ("nw4cSetBillboard_BillboardCB " + $node)
143 SetJob_Billboard($node);
187 for ($node in $xforms)
189 if (IsSceneAnimObject($node))
193 int $val = nw4cSetBillboard_Get_Billboard($node);
201 select -add $node;
212 string $msg = "Found: " + $nodeCount + " transform node";
241 // node name