Version: 5.4
Experimental: this API is experimental and might be changed or removed in the future.

AnimationMixerPlayable.SetInputs

マニュアルに切り替える
public bool SetInputs (AnimationClip[] clips);

パラメーター

clips 入力として使用される AnimationClip

戻り値

bool AnimationClipPlayable の作成が失敗した場合や接続が失敗した場合、 False を返します。

説明

それぞれ指定された AnimationClip のために AnimationClipPlayable を自動的に作成し、ミキサーへの入力として設定します。

注: AnimationPlayable.SetInputs と同様にこのメソッドはミキサー上で再生可能などの入力でも自動的に切断します。


public bool SetInputs (IEnumerable<Playable> sources);

パラメーター

sources Playable to add as input.

戻り値

bool 接続のいずれかが失敗した場合は false を返します。

説明

入力として Playable の Enumerable を加えます。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961