找回密碼
 注冊帳號

掃一掃,訪問微社區

animationstate.enabled 啟用?

2014-12-31 06:02| 發布者: 楊炎| 查看: 2286| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: animationstate.weight 權重varweight: floatdescription描述the weight of animation動畫權重this calculates the blend weights for one curve.它計算動畫曲線的混合權重weights are distributed so that the top ...

animationstate.weight 權重

varweight: float

description描述

the weight of animation

動畫權重

this calculates the blend weights for one curve.

計算動畫曲線的混合權重

weights are distributed so that the top layer gets everything. if it doesn't use the full weight then the next layer gets to distribute the remaining weights and so on. once all weights are used by the top layers, no weights will be available for lower layers anymore unity uses fair weighting, which means if a lower layer wants 80% and 50% have already been used up, the layer will not use up all weights. instead it will take up 80% of the 50%.

權重分配從最高層獲取.如果最高層沒有獲取全部權重,其下一層將獲取其余的權重并以此類推.一旦頂層使用了全部權重,較低層將沒有權重可用.這意味著在上層已經占用50%的情況下低層想占用80%時,此層占用的將不是全部權重的80%,而是50%中的80%.

相關閱讀

文章點評
相關文章
女校游泳队彩金