R, G and B are floating-point values, where 1.0 ⇒ 255 in 8-bit colour. write the textDocument over the existing one change any attributes of the textDocument here, e.g.: make a new textDocument, copying the values of the current one So you can set it thus: var textProp = comp.layer(1).property('Source Text') Amongst the attributes is fillColor and strokeColor.Įdit it's not as simple as it seems, you can't just assign the values to the source text, you have to make a new textDocument object, make your changes to it, and then assign the value of the source text property to the textDocument object you created. Now, you’ll have a dark unlit version of the neon tube when it’s only halfway on. Of the After Effects CS6 Scripting guide (the most recent documentation that Adobe have deigned to give us) describes the TextDocument object, which is the data type for a text layer's Source Text property. Then open up the Inner Glow, and change it’s color to dark grey as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |