この構造体には、すべての character studio Animation Mixer に影響する mixerManager クラスにアクセスするための多くのシステム グローバル変数とメソッドが含まれています
システム グローバル変数
themixer.snapFrames SystemGlobal:snapFrames boolean default:true
themixer.snapToClips SystemGlobal:snapToClips boolean default:false
themixer.lockTransitions SystemGlobal:lockTransitionsboolean default:false
themixer.showBalanceCurves SystemGlobal:showBalanceCurvesboolean default:true
themixer.showClipBounds SystemGlobal:showClipBounds boolean default:true
themixer.showClipNames SystemGlobal:showClipNames boolean default:true
themixer.showClipScale SystemGlobal:showClipScaleboolean default:false
themixer.showGlobalFrames SystemGlobal:showGlobalFramesboolean default:true
themixer.showInpoints SystemGlobal:showInpointsboolean default:true
themixer.showOutpoints SystemGlobal:showOutpointsboolean default:false
themixer.showTgRangebars SystemGlobal:showTgRangebarsboolean default:true
themixer.showTimeWarps SystemGlobal:showTimeWarpsboolean default:true
themixer.showWgtCurves SystemGlobal:showWgtCurvesboolean default:true
メソッド
<boolean>themixer.showMixer()
ミキサーを表示します。成功した場合は true を返します。
<boolean>themixer.hideMixer()
ミキサーを非表示にします。成功した場合は true を返します。
<boolean>themixer.toggleMixer()
モーション ミキサーの表示を切り替えます。非表示の場合は、モーション ミキサーが表示されます。表示されている場合は、ミキサーが非表示になります。成功した場合は true を返します。
themixer.addMixerToDisplay <biped_controller>
指定したコントローラが属す Biped がミキサーに追加されます。成功した場合は true を返します。
themixer.removeMixerFromDisplay <biped_controller>
指定したコントローラが属す Biped がミキサーから削除されます。成功した場合は true を返します。
次の関数は、ミキサー ユーザ インタフェースのアイコンで使用できます。
themixer.setAnimationRange()
アニメーション範囲を設定します。成功したら true を返します。
themixer.updateDisplay
ミキサーの表示を更新します。成功したら true を返します。
themixer.zoomExtents()
アニメーションの範囲にミキサーの表示をズームします。成功した場合は true を返します。
themixer.numMaxMixers()
モーション ミキサー内の Max ミキサーの数を返します。
themixer.addMaxMixer <node_array> <track_name>
node_array
で指定したシーン オブジェクトを使用して、指定した track_name
を持つ新しい Max ミキサーをモーション ミキサーに追加します。track_name
が既に存在する場合、このメソッドは失敗して false を返すことに注意してください。
themixer.removeMaxMixer <int_index> <bool_collapse> <bool_keyperframe>
インデックス int_index
の Max ミキサーをミキサーから除去します。bool_collapse
が true の場合、ミキサーは集約され、ミキサーで制御されるコントローラはミキサーで設定された値に置き換えられます。false の場合、ミキサーで制御されるコントローラは、ノードをミキサーに追加したときに元のコントローラとその値に置き換えられます。bool_keyperframe
が true の場合、ミキサーはフレームごとのキーを使用して集約されます。false の場合、ミキサーはクリップの個々のキーフレームを集約しようとします。
themixer.getMaxMixer <int_index>
モーション ミキサーから、指定したインデックスにある Max ミキサーを取得します。成功した場合は Mixer
オブジェクトを返します。