锁定控制器,一般在绑定的时候很多用到

setTransformLockFlags的方法说明,不太难,相信能看懂的


setTransformLockFlags <node> (#all | #none | <bitarray>) -- mapped 
Set and set the transform lock flags for the specified node as an <bitarray>. If a bit is on, the corresponding transform lock is turned on. The order of the bits is: #{POS_X,POS_Y,POS_Z,ROT_X,ROT_Y,ROT_Z,SCALE_X,SCALE_Y,SCALE_Z}. If #all is specified instead, all locks will be checked. If #none is specified, all locks will be unchecked.

 

四种引用方法:

setTransformLockFlags selection #all

setTransformLockFlags selection #none

setTransformLockFlags selection #{1}

setTransformLockFlags selection #{1..4}

你可能感兴趣的:(控制器)