找回密碼
 注冊帳號

掃一掃,訪問微社區

animationstate.enabled 啟用?

2014-12-31 06:02| 發布者: 楊炎| 查看: 2591| 評論: 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%.

相關閱讀

文章點評
相關文章
女校游泳队彩金 无网四人单机麻将 正版斗牛棋牌游戏平台 福彩25选7开奖结果查询 青海十一选五开奖结 怎样下载辽宁微乐麻将的挂 神来棋牌是真的吗 qq麻将规则 河北福利彩票排列7 007足球比分直播 豪快麻将官网 极速赛车是骗局吗 中超球队 助赢永久免费计划版app 免费下载微乐河南麻将 1分快3怎么玩中奖率高 四川快乐12遗漏统计