AddFCurve

カテゴリ

アニメーション

詳細

F カーブをパラメータに追加します。

スクリプト構文

AddFCurve( [InputObjs] );

パラメータ

パラメータ タイプ 詳細
InputObjs 文字列 アニメート可能なパラメータのリスト (例: cone*/kine.local.pos)。

デフォルト値:現在選択され、マーキングされているパラメータ

VBScript の例

' 
' 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

関連項目

RemoveAnimation RemoveAllAnimation SaveKey RemoveKey PrevKey FirstKey LastKey Parameter.AddFCurve