// =========================================================================== // 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: July 16, 1998 // // Procedure Name: // AEnonLinearTemplate // // Description: // Creates attribute editor controls the nonLinear node // // Input Value: // nodeName // // Output Value: // None // global proc AEnonLinearTemplate ( string $nodeName ) { editorTemplate -beginScrollLayout; editorTemplate -beginLayout (uiRes("m_AEnonLinearTemplate.kNonlinearDeformerAttributes")) -collapse 0; // bend attributes editorTemplate -addControl "curvature"; // twist attributes editorTemplate -addControl "startAngle"; editorTemplate -addControl "endAngle"; // squash attributes editorTemplate -addControl "factor"; editorTemplate -addControl "expand"; editorTemplate -addControl "maxExpandPos"; editorTemplate -addControl "startSmoothness"; editorTemplate -addControl "endSmoothness"; // flare attributes editorTemplate -addControl "startFlareX"; editorTemplate -addControl "startFlareZ"; editorTemplate -addControl "endFlareX"; editorTemplate -addControl "endFlareZ"; editorTemplate -addControl "curve"; // sine attributes editorTemplate -addControl "amplitude"; editorTemplate -addControl "wavelength"; editorTemplate -addControl "offset"; editorTemplate -addControl "dropoff"; // wave attributes editorTemplate -addControl "minRadius"; editorTemplate -addControl "maxRadius"; // bound attributes editorTemplate -addControl "lowBound"; editorTemplate -addControl "highBound"; // suppress these attributes editorTemplate -suppress "deformerData"; editorTemplate -suppress "matrix"; editorTemplate -endLayout; AEgeometryFilterCommon $nodeName; AEdependNodeTemplate $nodeName; editorTemplate -addExtraControls; editorTemplate -endScrollLayout; }