Unity3D圣典3.3版本-中文版
文集大纲加载中……
本文档使用 MrDoc 发布
-
+
首页
AnimationClip 动画剪辑
# AnimationClip 动画剪辑 Inherits from [Object](../Object/Object.html) Stores keyframe based animations. 储存基于动画的关键帧。 AnimationClip is used by [Animation](../Animation/Animation.html) to play back animations. AnimationClip 是由 [Animation](../Animation/Animation.html) 使用来播放动画。 ### Variables**变量** * [length](AnimationClip.length.html) Animation length in seconds (Read Only) 动画的长度,以秒计算(只读) * [frameRate](AnimationClip.frameRate.html) Frame rate at which keyframes are sampled (Read Only) 被采样的关键帧帧速率(只读) * [wrapMode](AnimationClip.wrapMode.html) Sets the default wrap mode used in the animation state. 在动画状态设置使用的默认循环模式。 ### Constructors**构造器** * [AnimationClip](AnimationClip.AnimationClip.html) Creates a new animation clip 创建一个新的动画剪辑。 ### Functions**函数** * [SetCurve](AnimationClip.SetCurve.html) Assigns the curve to animate a specific property. 给动画指定曲线一个特殊的属性。 * [ClearCurves](AnimationClip.ClearCurves.html) Clears all curves from the clip. 从剪辑清除所有曲线。 * [AddEvent](AnimationClip.AddEvent.html) Adds an animation event to the clip. 给剪辑添加动画事件。 ## Inherited members**继承成员** ### Inherited Variables**继承变量** * [name](../Object/Object.name.html) The name of the object. //物体的名字 * [hideFlags](../Object/Object.hideFlags.html) Should the object be hidden, saved with the scene or modifiable by the user? 物体是否被隐藏、保存在场景中或被用户修改? ### Inherited Functions**继承函数** * [GetInstanceID](../Object/Object.GetInstanceID.html) Returns the instance id of the object. 返回物体的实例 ID * [ToString](../Object/Object.ToString.html) Returns the name of the game object. 返回游戏物体的名称。 ### Inherited Class Functions**继承类函数** * [operator bool](../Object/Object.operator_bool.html) Does the object exist? 物体是否存在? * [Instantiate](../Object/Object.Instantiate.html) Clones the object original and returns the clone. 克隆原始物体,并返回克隆的物体 * [Instantiate.<T>](../Object/Object.Instantiate.ltTgt.html) * [Destroy](../Object/Object.Destroy.html) Removes a gameobject, component or asset. 删除一个游戏物体、组件或资源 * [DestroyImmediate](../Object/Object.DestroyImmediate.html) Destroys the object obj immediately. It is strongly recommended to use Destroy instead. 立即销毁物体 obj,强烈建议使用 Destroy 代替。 * [FindObjectsOfType](../Object/Object.FindObjectsOfType.html) Returns a list of all active loaded objects of Type type. 返回 Type 类型的所有激活的加载的物体列表 * [FindObjectOfType](../Object/Object.FindObjectOfType.html) Returns the first active loaded object of Type type. 返回 Type 类型第一个激活的加载的物体。 * [operator ==](../Object/Object.operator_eq.html) Compares if two objects refer to the same 比较如果两个物体相同 * [operator !=](../Object/Object.operator_ne.html) Compares if two objects refer to a different object 比较如果两个物体不同 * [DontDestroyOnLoad](../Object/Object.DontDestroyOnLoad.html) Makes the object target not be destroyed automatically when loading a new scene. 加载新场景的时候使目标物体不被自动销毁。
da
2022年5月13日 22:10
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码