5 uncommon expression tips in 5 mins | Quick After Effects Tip
Автор: ruthlessly quick AE tips
Загружено: 2024-03-18
Просмотров: 661
Описание:
5 less-known After Effects expression tips you probably didn't know, in 5 minutes - let's go!
0:00 Tip 1 – Short conditional statements aka Ternary Operators
CONDITION ? VALUE IF TRUE : VALUE IF FALSE
thisComp.layer("CONTROL").effect("Dark mode")("Checkbox")==1 ? 100 : 0
1:04 Tip 2 – Locking the wiggle() seed
seedRandom(777);
wiggle(5,10)
1:41 Tip 3 – split() + pop() methods
to get the last word of a layer name:
name.split(" ").pop();
3:09 Tip 4 – Using text layers to drive expressions
to parse text as a number:
parseFloat(thisComp.layer("number").text.sourceText);
to evaluate text string as code:
eval(thisComp.layer("number").text.sourceText);
4:04 Tip 5 – Setting font and other character properties with expressions
text.sourceText.createStyle().setFont("HelveticaNeueLTPro-BlkCnO").setFontSize(300).setAllCaps(1).setFillColor([1,0,0])
to reference another text layer's character style:
thisComp.layer("first text").text.sourceText.getStyleAt(0,0)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: