]> git.sesse.net Git - casparcg/blob - deploy/general/server/template/scene/namesign/fade_in_fade_out_with_timeout.scene
[scene] Created simple namesign with different animation variations
[casparcg] / deploy / general / server / template / scene / namesign / fade_in_fade_out_with_timeout.scene
1 <?xml version="1.0" encoding="UTF-8"?>
2 <scene width="1920" height="1080" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/CasparCG/Server/2.1.0/core/producer/scene/scene.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3   <variables>
4     <variable type="string" public="true" id="f0">Needs f0</variable>
5   </variables>
6
7   <layers>
8     <layer id="nested_simple_scene">
9       <!-- Nested scene becomes like a MovieClip in flash  -->
10       <producer>scene/namesign/simple</producer>
11       <x>0</x>
12       <y>0</y>
13       <parameters>
14         <!-- Uses the f0 parameter in this scene as the value of f0 in the nested scene as well -->
15         <f0>${f0}</f0>
16       </parameters>
17     </layer>
18   </layers>
19
20   <marks>
21     <mark at="0" type="start" label="intro" />
22     <mark at="100" type="start" label="outro" />
23     <mark at="112" type="remove"/>
24   </marks>
25
26   <timelines>
27     <timeline variable="layer.nested_simple_scene.adjustment.opacity">
28       <keyframe at="0">0.0</keyframe>
29       <keyframe at="12" easing="linear">1.0</keyframe>
30       <keyframe at="100">1.0</keyframe>
31       <keyframe at="112" easing="linear">0.0</keyframe>
32     </timeline>
33   </timelines>
34 </scene>