加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

posterizeTime(framesPerSecond)

(2012-11-07 14:40:29)
标签:

杂谈

分类: AE

posterizeTime(framesPerSecond)

posterizeTime(framesPerSecond)
Return type: Number.

Argument type: framesPerSecond is a Number.
The framesPerSecond value becomes the frame rate from which the rest of the expression operates. This expression allows you to set the frame rate for a property to be lower than the frame rate of the composition.
For example, the following expression updates the property value with a random value once per second:
posterizeTime(1);
random()
注意:这段帮助是ae cs 5.5的,cs 4存在一个bug。

它可以放在任何地方,一般放表达式的第一行,作用是加上一个强制的帧率,值的所有变化会按照所设置的帧率而变化。
比如在旋转里打了0~100两个关键帧,本来应该是平滑变化的,但是如果加了:
posterizeTime(3);
value
就会每秒变化3次,咔咔咔~

Return type: Number.

它不返回数值,它是设定其它表达式的运行环境

是给余下的表达式接受的数值,缩放、移动、旋转都无法接受它。

下面两个都可以运行:

posterizeTime(2);

wiggle(1,45,1,0.5,time)

这里time是持续时间

------------------------------------

posterizeTime(3);
valueAtTime(time)

通俗的理解,括号中的是帧频,就是分离之后,每秒钟相当于的帧数。比如posterizeTime(12),就是每秒钟12帧。

 

以上摘自 清风明月 还有些童鞋始终再问加到什么地方看下图http://s10/mw690/863f17d7gcde20d5e82f9&690



0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有