// =========================================================================== // 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: 2003 // // Procedure Name: // AEremapColorTemplate // // Description: // Creates the attribute editor controls for the remapColorNode // // Input Value: // nodeName // // Output Value: // None // global proc AEremapColorTemplate( string $nodeName ) { AEswatchDisplay $nodeName; editorTemplate -beginScrollLayout; editorTemplate -beginLayout (uiRes("m_AEremapColorTemplate.kRemapColorAttributes")) -collapse 0; editorTemplate -addControl "color"; AEaddRampControl ($nodeName+".red"); AEaddRampControl ($nodeName+".green"); AEaddRampControl ($nodeName+".blue"); editorTemplate -addControl "renderPassMode"; editorTemplate -endLayout; editorTemplate -beginLayout (uiRes("m_AEremapColorTemplate.kInputandOutputRanges")) -collapse 1; editorTemplate -addControl "inputMin"; editorTemplate -addControl "inputMax"; editorTemplate -addControl "outputMin"; editorTemplate -addControl "outputMax"; editorTemplate -endLayout; AEdependNodeTemplate $nodeName; editorTemplate -addExtraControls; editorTemplate -endScrollLayout; }