Version: 2022.2
public static Animations.AnimationLayerMixerPlayable Create (Playables.PlayableGraph graph, int inputCount, bool singleLayerOptimization);

参数

graph 将包含新 AnimationLayerMixerPlayablePlayableGraph
inputCount 层的数量。
singleLayerOptimization This optimization automatically sets the weight of the first animation layer to 1. Set to true If your layer mixer has a single animation layer and you want to bypass unnecessary weight calculations. This optimization is automatically set to false if your layer mixer has multiple animation layers.

返回

AnimationLayerMixerPlayable 链接到 PlayableGraph 的新 AnimationLayerMixerPlayable

描述

PlayableGraph 中创建 AnimationLayerMixerPlayable

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