// =========================================================================== // 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. // =========================================================================== global proc AEcolorConditionTemplate(string $node) { AEswatchDisplay $node; editorTemplate -beginScrollLayout; editorTemplate -beginNoOptimize; editorTemplate -beginLayout (uiRes("m_AEcolorConditionTemplate.kInputs")) -collapse 0; editorTemplate -label (uiRes("m_AEcolorConditionTemplate.kColorA")) -addControl "colorA"; editorTemplate -label (uiRes("m_AEcolorConditionTemplate.kAlphaA")) -addControl "alphaA"; editorTemplate -addSeparator; editorTemplate -label (uiRes("m_AEcolorConditionTemplate.kColorB")) -addControl "colorB"; editorTemplate -label (uiRes("m_AEcolorConditionTemplate.kAlphaB")) -addControl "alphaB"; editorTemplate -addSeparator; editorTemplate -label (uiRes("m_AEcolorConditionTemplate.kCondition")) -addControl "condition"; editorTemplate -endLayout; editorTemplate -addExtraControls; editorTemplate -suppress "caching"; editorTemplate -suppress "nodeState"; editorTemplate -endNoOptimize; editorTemplate -endScrollLayout; }