manipScaleContext [-activeHandle int] [-alignAlong float float float] [-currentActiveHandle int] [-editPivotMode boolean] [-editPivotPosition] [-mode int] [-orientAxes float float float] [-orientTowards float float float] [-pinPivot boolean] [-position] [-postCommand script] [-postDragCommand script string] [-preCommand script] [-preDragCommand script string] [-preserveChildPosition boolean] [-preserveUV boolean] [-preventNegativeScale boolean] [-reflection boolean] [-reflectionAbout int] [-reflectionAxis int] [-reflectionTolerance float]
[object]
manipScaleContext は、取り消し可能、照会可能、および編集可能です。
スケール マニピュレータ コンテキストの作成、編集、照会を実行するときに使用します。| string | (新しいコンテキストの名前) |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-mode(-m)
|
int
|
|
||
|
||||
-activeHandle(-ah)
|
int
|
|
||
|
||||
-currentActiveHandle(-cah)
|
int
|
|
||
|
||||
-position(-p)
|
|
|
||
|
||||
-editPivotPosition(-epp)
|
|
|
||
|
||||
-orientAxes(-oa)
|
float float float
|
|
||
|
||||
-orientTowards(-ot)
|
float float float
|
|
||
|
||||
-alignAlong(-aa)
|
float float float
|
|
||
|
||||
-reflection(-rfl)
|
boolean
|
|||
|
||||
-reflectionAbout(-rab)
|
int
|
|||
|
||||
-reflectionAxis(-rfa)
|
int
|
|||
|
||||
-reflectionTolerance(-rft)
|
float
|
|||
|
||||
-preCommand(-prc)
|
script
|
|
||
|
||||
-postCommand(-psc)
|
script
|
|
||
|
||||
-preDragCommand(-prd)
|
script string
|
|
||
|
||||
-postDragCommand(-pod)
|
script string
|
|
||
|
||||
-editPivotMode(-epm)
|
boolean
|
|
||
|
||||
-preserveChildPosition(-pcp)
|
boolean
|
|
||
|
||||
-preserveUV(-puv)
|
boolean
|
|
||
|
||||
-pinPivot(-pin)
|
boolean
|
|
||
|
||||
-preventNegativeScale(-pns)
|
boolean
|
|
||
|
||||
// To create a new scale context: manipScaleContext; // To query the active handle of an existing scale context: manipScaleContext -q -ah manipScaleContext1; // To edit an exiting scale context so that it comes up with the X axis // handle active by default: manipScaleContext -e -ah 0 manipScaleContext1;