Self Resizing Text Box After Effects CC Tutorial

Опубликовано: 28 Октябрь 2024
на канале: On Shot Design
97
3

تحكم في حجم التيكست بوكس عن طريق الإكسبريشنز في الأفتر .. أي كلما كبر حجم النص أو زاد عدد الكلمات زاد معه حجم البوكس تلقائياً
الكود المستخدم :
margin = 100;
text_width = thisComp.layer("Text").sourceRectAtTime().width;
text_height = thisComp.layer("Text").sourceRectAtTime().height;
box_width = text_width + margin*4;

box_height = text_height + margin*2;
[box_width, box_height]

   / @mohamedwanas  
   • 24 Free Lower Thirds احصل علي ٢٤ عنوا...  
   • Layer Style and Layer Shapes in After...  
   • Video  
   • كيف تصنع شاشة  وتقسمها إلي مربعات عل...  
   • Free Element 3d Simple Models  
   • After Effects Jelly Effect  
   • Glass Look Lower Third in After Effec...  
   • Lower Third in After Effects Tutorial...  
  / mohamedwanas123