移動先: 概要 戻り値 フラグ. MEL 例.
reorder [-back] [-front] [-relative int]
[objects...]
reorder は 「元に戻す」が可能、「照会」が不可能、「編集」が不可能 です。
このコマンドは、兄弟オブジェクトに対するオブジェクトの順序を変更(移動)します。
相対的に移動するには、正または負の数を指定します。正の数はオブジェクトを兄弟オブジェクトの中で前方に、負の数は後方に移動します。オブジェクトが兄弟オブジェクトのリストの最後(最初)にある場合、
相対的に 1(-1)移動すると、オブジェクトは
リストの最初(最後)に移動します。つまり、必要な場合、相対的な移動はラップします。
シェイプが指定され、それが唯一の子であれば、
その親の順序が変更されます。
なし
back, front, relative
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// create a hierarchy
sphere -n sphere1;
sphere -n sphere2;
sphere -n sphere3;
sphere -n sphere4;
group -n group1 sphere1 sphere2 sphere3 sphere4;
// The hierarchy group1 contains sphere1, sphere2, sphere3 and sphere4.
// The command below moves sphere2 before sphere1.
reorder -r -1 sphere2;
// make sphere1 the first sibling
reorder -front sphere1;
// move sphere3 forward 2 siblings. Moving it forward one
// sibling would put it at the end. Moving it forward again
// puts it at the beginning.
reorder -r 2 sphere3;