SyntaxHighlighter

2012年5月4日金曜日

AeExpressionメモ


コンポの名前を引っ張る
thisComp.name
レイヤーネームを引っ張る
thisComp.layer(index).name
コンポジションのフレームカウントを引っ張る
timeToCurrentFormat()
いっこ下のレイヤ参照
thisComp.layer(thisLayer, 1).transform.opacity

layer(otherLayer, relIndex)
otherLayer:基準とするレイヤー
relIndex: otherLayerとの相対関係番号。+2なら2つ下、-3なら3つ上のレイヤーを示す。

テキストレイヤパディング付きフレームカウント
t = time * 30 + 1 + "";
while (t.length<5) t = '0' + t;

テキストレイヤタイムコード
timeToTimecode(t = time + thisComp.displayStartTime, timecodeBase = 30, isDuration = false) 

0 件のコメント:

コメントを投稿