animationclip.framerate 帧率

2014-12-31 02:50| 发布者: 杨炎| 查看: 2443| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: animationclip.framerate 帧速率varframerate: floatdescription描述frame rate at which keyframes are sampled (read only)被取样关键帧的帧速率。(只读)this is the frame rate that was used in the animation ...

animationclip.framerate 帧速率

varframerate: float

description描述

frame rate at which keyframes are sampled (read only)

被取样关键帧的帧速率。(只读)

this is the frame rate that was used in the animation program you used to create the animation or model.

帧速率是在动画程序用于创建动画或模型中使用。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

print(animation["walk"].clip.framerate);

}

}

//打印动画剪辑的帧速率

print(animation["walk"].clip.framerate);

相关阅读

文章点评
相关文章