ConvertEulerToQuat

詳細

回転の F カーブをクォータニオンの F カーブに変換します。

ローカルの回転チャンネルにキーフレーム アニメーションがある場合には、そのアニメーションをクォータニオンの F カーブに変換します。

回転のチャンネルがアニメートされていない場合には、ローカルの回転のチャンネルを制御する空のクォータニオン F カーブが作成されます。 この F カーブは他の F カーブと同様にキーフレーム設定したり、編集したりすることができます。

スクリプト構文

ConvertEulerToQuat( [InputObjs] );

パラメータ

パラメータ タイプ 説明
InputObjs 文字列 オブジェクトのリスト

デフォルト値:現在選択されているオブジェクト

VBScript の例

' 

' In this example, an FCurve is created on the XRot param

' of the cube. Then, two keys are created (at frame 1 and 30)

' which are then converted to quaternion animation.

'

NewScene

CreatePrim "Cone", "MeshSurface", "MyCone"

' Add two keys, at frame 1 and 30

SaveKey "MyCone.kine.local.rotx", 1,  0 

SaveKey "MyCone.kine.local.rotx", 30, 70

' Convert to quaternion fcurves

ConvertEulerToQuat

' Play the animation

PlayForwardsFromStart

関連項目

ConvertQuatToEuler RemoveAnimation RemoveAllAnimation SaveKey RemoveKey PrevKey FirstKey LastKey FCurve SIQuaternion