v2.0
view
アニメーション ビュー(右側)に入力ビューが設定されたアニメーション エディタを開きます。 アニメーション ツリー(左側)には、入力パラメータが選択された状態で、入力オブジェクトが表示されます。
OpenAnimationEditor( [AnimationView], [InputObjs] ); |
| パラメータ | タイプ | 詳細 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AnimationView | 文字列 | アニメーション エディタ(たとえば "F カーブ エディタ")にどのアニメーション ビューを表示するかを指定します。
デフォルト値:なし:Animation Editor が表示するアニメーションビューを決定します。
|
||||||||||
| InputObjs | 文字列 | アニメート可能なパラメータのリスト(例:
cone*/.kine.local.pos)。
デフォルト値:現在マークされているパラメータ |
'
' This example demonstrates how to open the default animation view with
' the OpenAnimationEditor command.
'
NewScene , false
' Create an object and set a key on it
set oAnimObj = CreatePrim( "Cone", "MeshSurface" )
Translate oAnimObj, -7.92963227268228, 5.31226706028277, -0.531226706028277, _
siRelative, siView, siObj, siXYZ
SaveKey oAnimObj & "/.kine.local.pos", 1
' Open the Animation Editor with the default animation view (in this case, the FCurve Editor)
OpenAnimationEditor
|
/*
This example demonstrates how to open the Standalone DopeSheet with the
OpenAnimationEditor command and automatically select the position fcurves.
*/
NewScene( null, false );
// Create an object and set a key on it
var oAnimObj = CreatePrim( "Cone", "MeshSurface" );
Translate( oAnimObj, -7.92963227268228, 5.31226706028277, -0.531226706028277,
siRelative, siView, siObj, siXYZ );
SaveKey( oAnimObj + "/.kine.local.pos", 1 );
// Open the Animation Editor with the Dopesheet as the animation view and
// automatically select the position fcurves
OpenAnimationEditor( "Standalone DopeSheet", oAnimObj + "/.kine.local.pos" );
|