F カーブをパラメータに追加します。
| AddFCurve( [InputObjs] ); | 
| パラメータ | タイプ | 説明 | 
|---|---|---|
| InputObjs | 文字列 | アニメート可能なパラメータのリスト (例: cone*/kine.local.pos)。 デフォルト値:現在選択され、マーキングされているパラメータ | 
| ' ' In this example, an FCurve is created on the XPos param ' of the sphere. Then, two keys are created (at frame 1, ' XPos = -2; at frame 30, XPos = 5). ' NewScene CreatePrim "Sphere", "NurbsSurface", "MySphere" ' Add a posx fcurve AddFCurve "MySphere.kine.local.posx" ' Add two keys, at frame 1 and 30 SaveKey "MySphere.kine.local.posx", 1, -2 SaveKey "MySphere.kine.local.posx", 30, 5 ' Play the animation PlayForwardsFromStart |