When true, the composition marker behaves as a protected region. State of the Protected Region option in the Composition Marker dialog box. True for Event false for Navigation.Ĭontents of cue point Name field in marker dialog box.Ĭontents of Parameter Name and Parameter Value fields in marker dialog box.įor example, if you have a parameter named �background color�, then you can use the following expression to access its value at the nearest marker: (time).parameters Setting for cue point type in marker dialog box. For information, see XMP metadata in After Effects.ĭan Ebberts provides a tutorial on the After Effects Developer Center that includes an example of using XMP metadata with expressions.Ĭontents of Comment field in marker dialog box.Ĭontents of Chapter field in marker dialog box.Ĭontents of URL field in marker dialog box.Ĭontents of Frame Target field in marker dialog box. ![]() S = "parameter: " param " value: " m.parameters "\r" īecause the XMP metadata in a footage item can be converted into layer markers for a layer based on that item, expressions can interact with XMP metadata. "Event cue point? " m.eventCuePoint "\r" "cue point name: " m.cuePointName "\r" "frame target: " m.frameTarget "\r" S = "time:" timeToCurrentFormat(m.time) "\r" This expression on the Source Text property of a text layer displays the time, duration, index, comment (name), chapter, URL, frame target, and cue point name for the layer marker nearest the current time, and whether the marker is for an event cue point: m = (time) The index attribute is not the number (name) of the marker it is the keyframe index number, representing the order of the marker in the time ruler.Įxpressions have access to all the values for a marker that you can set in the Composition Marker or Layer Marker dialog box. ![]() Access layer markers through the thisLayer.marker object access composition markers through the thisComp.marker object.įor the purpose of expressions, markers are a special type of Key object, so you can use methods such as nearestKey(time) to access markers, and markers also have time and index attributes. ![]() You can access values for composition markers and layer markers using the same methods.
0 Comments
Leave a Reply. |