posterizeTime(framesPerSecond)
 (2012-11-07 14:40:29)
	
			
					(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

 加载中…
加载中…