TweenRotation
TweenRotation Class Reference
TweenRotation类引用
Tween the object's rotation. More...
中间对象的旋转。更多…
Inheritance diagram for TweenRotation:
继承关系图TweenRotation:
Static Public Member Functions静态公共成员函数 | |
static TweenRotation | Begin (GameObject go, floatduration, Quaternion rot) |
Start the tweening operation. 启动渐变操作。 | |
Public Attributes公共属性 | |
Vector3 | from |
Vector3 | to |
Protected Member Functions保护成员函数 | |
override void | OnUpdate (float factor) |
Actual tweening logic should go here. 实际的渐变逻辑应该去这里。 | |
Properties属性 | |
Quaternion | rotation [get, set] |
Detailed Description详细描述
Tween the object's rotation. 渐变对象的旋转。
Member Function Documentation成员函数文档
static TweenRotation TweenRotation.Begin | ( | GameObject | go, |
float | duration, | ||
Quaternion | rot | ||
) | [static] |
Start the tweening operation. 启动渐变操作。
override void TweenRotation.OnUpdate | ( | float | factor | ) | [protected, virtual] |
The documentation for this class was generated from the following file:
- Assets/NGUI/Scripts/Tweening/TweenRotation.cs