码迷,mamicode.com
首页 > 其他好文 > 详细

AnimatorStateInfo

时间:2014-05-01 13:29:12      阅读:592      评论:0      收藏:0      [点我收藏+]

标签:des   class   code   ext   strong   string   int   art   cti   name   for   

AnimatorStateInfo

Namespace: UnityEngine

 
Description

Information about the current or next state.

 

AnimatorStateInfo.nameHash

var nameHash: int;
Description

Name of the State.

The hash is generated using Animator::StringToHash. The string to pass should include the parent layer‘s name. For example, if you have a Run state in the Base Layer the string to generate the hash will be Base Layer.Run.
 
AnimatorStateInfo.normalizedTime
var normalizedTime: float;
Description

Normalized time of the State.

The integer part is the number of time a state has been looped. The fractional part is the % (0-1) of progress in the current loop.

AnimatorStateInfo,码迷,mamicode.com

AnimatorStateInfo

标签:des   class   code   ext   strong   string   int   art   cti   name   for   

原文地址:http://www.cnblogs.com/vincentDr/p/3701312.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!