summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/AETemplates/AEStaticCameraLocatorNodeTemplate.mel
blob: d611957865e8a4a5e87b1023f313d6accc42c902 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
global proc AEStaticCameraLocatorNodeTemplate( string $nodeName )
{
	editorTemplate -beginScrollLayout;
	
		editorTemplate -beginLayout "Locator Attributes" -collapse 0;
			AElocatorCommon $nodeName;
		editorTemplate -endLayout;

        editorTemplate -beginLayout "Camera Attributes" -collapse false;
            editorTemplate -addControl "cutInOut";
            editorTemplate -addControl "carOnly";
            editorTemplate -addControl "onFootOnly";
            editorTemplate -addControl "oneShot";
            editorTemplate -addControl "noFOV";
            editorTemplate -addControl "fieldOfView";
            editorTemplate -addControl "facingOffset";

            editorTemplate -addSeparator;

            editorTemplate -addControl "targetLag";

            editorTemplate -addSeparator;

            editorTemplate -addControl "active";

            editorTemplate -addControl "target";
            editorTemplate -addControl "tracking";

            editorTemplate -addSeparator;
			editorTemplate -addControl "transitionTo";

            editorTemplate -callCustom "AEWBTargetSelectNew"
                    "AEWBTargetSelectReplace"
                    "message";

		editorTemplate -endLayout;

		editorTemplate -beginLayout "Triggers" -collapse 0;
            
			editorTemplate -callCustom "AEWBTriggerButtonNew" 
					"AEWBTriggerButtonReplace"
					"message";                  

		editorTemplate -endLayout;

    	editorTemplate -addExtraControls;

    editorTemplate -endScrollLayout;

    AEWBLocatorSuppress( $nodeName );
}