Unity - Timeline 之 Reordering tracks and rendering priority(轨道排序调整与渲染优先级)

目录:Unity - Timeline 知识汇总
原味:https://docs.unity3d.com/Packages/[email protected]/manual/trk_reorder.html
翻译时Timeline版本:Timeline 1.2.11

Reordering tracks and rendering priority

轨道排序调整与渲染优先级

在Timeline窗口中,渲染与动画处理的优先级是在最后一个轨道到第一个轨道的顺序来执行的,所以最后一个轨道的优先级最大。你可以调整轨道之间的顺序来改变他们的渲染与动画处理的优先级。

例如,一个Timeline实例有四个Animation轨道,其中第二与第四个都是Animation轨道,并同时处理同一个GameObject。第四个轨道的覆盖动画会覆盖掉前面的(第二个)轨道的动画。就上个动画的上下优先级关系,所以为何Animation Override tracks都放置于Animation轨道下也是有原因的。
The second track (red arrow) and fourth track (selected, green arrow) animate the same GameObject (GreenCube). The fourth track has priority and overrides the second track.)

第二个轨道(红色箭头)与第四个轨道(当前选中的,绿色箭头)处理动画的GameObject(GreenCube)是同一个对象。第四个轨道因为优先级覆盖了第二个轨道的动画。

重排轨道,选择一个或多个轨道后拖拽他们到轨道列表之间,当出现一个白色线时,这时放开拖拽后,即可调整轨道的顺序。拖拽后出现白色线出现的位置代表的是你即将选中的轨道插入此位置。
For example, the white insert line indicates that the Control track (Storm) will be placed between the first track (Ground) and second track (Audio Src)

例如,白线插入线的位置代表的是Control轨道(Storm轨道)即将插入的位置,在Ground轨道下面,在第二个轨道(AudioSource轨道))之前,这样Storm将成为新的第二个轨道

如果你拖拽Animation Override track轨道时,没有将其对应的Animation轨道一起拖拽,那么再将该Animation Override track轨道重排后,它的轨道类型会变为Animation轨道类型,并且会重置了该轨道的bindings的数据信息为None

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章