Playable API は、PlayableGraph と呼ばれるツリー構造にデータソースを整理して評価することで、ツール、エフェクト、他のゲームプレイメカニズムを作成する方法を提供します。PlayableGraph を使用すると、複数のデータソースをミックス、ブレンド、変更し、1 つの出力として再生できます。
Playable API は、アニメーション、オーディオ、スクリプトをサポートしています。さらに、Playable API では、スクリプトを使用して アニメーションシステム とオーディオシステムを相互作用させることも可能です。
Playable API の使用は、現在、アニメーション、オーディオ、スクリプトに限られていますが、最終的に、ビデオやその他のシステムでも汎用 API として使用されるでしょう。
アニメーションシステムにはすでにグラフ編集ツールがあります。 それは、アニメーションの再生に限定されたステートマシンシステムです。Playable API はより自由自在で、他のシステムをサポートできるように設計されています。さらに、Playable API ではステートマシンでは作成できないグラフの作成が可能です。このグラフは、データフローを表し、各ノードで何を生成し使用しているかを示します。さらに、1 つのグラフで複数のシステムを処理することが可能です。1 つのグラフにアニメーション、オーディオ、スクリプトのノードを含むことができます。
Playable API を利用すると、動的なアニメーションのブレンディングが可能です。つまり、シーンのオブジェクトが独自のアニメーションを生成できます。例えば、武器、箱、罠のアニメーションをPlayableGraph に動的に加え、限られた時間だけ使用することなどが可能です。
Playable API を使用すると、AnimatorController アセットの作成と管理に関連するオーバーヘッド無しに、1 つのアニメーションを簡単に再生することができます。
Playable API を使用すると、動的にブレンディンググラフを作成し、直接フレームごとにブレンディングウェイトを制御することが可能です。
PlayableGraph はランタイムに作成され、条件に基づいて必要に応じて playable ノードが加えられます。ノードが有効でもあり無効でもある “1 サイズですべてに使用可” な大きなグラフではなく、PlayableGraph は、現状態の要件にぴったり合うように調整することができます。
2017–07–04 公開ページ
2017–07–04 New in Unity 2017.1 NewIn20171
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.