// =========================================================================== // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // =========================================================================== // // // Creation Date: May 14, 1997 // // Procedure Name: // AEbump2dTemplate // // Description: // Creates the attribute editor controls for the bump2dNode // // Input Value: // nodeName // // Output Value: // None // global proc AEbump2dTemplate ( string $nodeName ) { AEswatchDisplay $nodeName; editorTemplate -beginScrollLayout; editorTemplate -beginLayout (uiRes("m_AEbump2dTemplate.kTwoDAttr")) -collapse 0; editorTemplate -addControl "bumpValue"; editorTemplate -addControl "bumpDepth"; editorTemplate -label (uiRes("m_AEbump2dTemplate.kUseAs")) -addControl "bumpInterp"; editorTemplate -endLayout; editorTemplate -beginLayout (uiRes("m_AEbump2dTemplate.kEffects")); editorTemplate -addControl "bumpFilter"; editorTemplate -addControl "bumpFilterOffset"; editorTemplate -beginNoOptimize; editorTemplate -addControl "adjustEdges"; editorTemplate -addControl "provide3dInfo"; editorTemplate -endNoOptimize; editorTemplate -endLayout; AEdependNodeTemplate $nodeName; editorTemplate -addExtraControls; editorTemplate -endScrollLayout; }