diff options
Diffstat (limited to 'tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel')
-rw-r--r-- | tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel new file mode 100644 index 0000000..c02a84a --- /dev/null +++ b/tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel @@ -0,0 +1,30 @@ +global proc AEFOVLocatorNodeTemplate( string $nodeName ) +{ + + editorTemplate -beginScrollLayout; + + editorTemplate -beginLayout "Locator Attributes" -collapse 0; + AElocatorCommon $nodeName; + editorTemplate -endLayout; + + editorTemplate -beginLayout "FOV Settings" -collapse 0; + editorTemplate -addControl "fov"; + editorTemplate -addControl "time"; + editorTemplate -addControl "rate"; + editorTemplate -endLayout; + + editorTemplate -beginLayout "Triggers" -collapse 0; + + editorTemplate -callCustom "AEWBTriggerButtonNew" + "AEWBTriggerButtonReplace" + "message"; + + editorTemplate -endLayout; + + editorTemplate -addExtraControls; + + editorTemplate -endScrollLayout; + + AEWBLocatorSuppress( $nodeName ); +} +
\ No newline at end of file |