// =========================================================================== // 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. // =========================================================================== // // // Description: // This script defines the elements for the texture smudge // property sheet. // // Input Arguments: // None. // // Return Value: // None. // global proc texMoveUVShellProperties() { string $parent = `toolPropertyWindow -query -location`; setParent $parent; setUITemplate -pushTemplate OptionsTemplate; columnLayout texMoveUVShell; frameLayout -collapsable true -collapse false -label (uiRes("m_texMoveUVShellProperties.kMoveSettings")) textureMoveShellFrame; columnLayout textureMoveShellOptions; separator -style "none"; checkBoxGrp -label "" -label1 (uiRes("m_texMoveUVShellProperties.kPreventOverlap")) textureMoveShellMaskButton ; floatSliderGrp -label (uiRes("m_texMoveUVShellProperties.kShellSpacing")) -field true -minValue 0.0 -fieldMinValue 0.0 textureMoveShellSpacing ; intSliderGrp -label (uiRes("m_texMoveUVShellProperties.kShellIteration")) -field true -minValue 1 -fieldMinValue 1 -maxValue 64 -fieldMaxValue 100 textureMoveIteration; setParent ..; setParent ..; setParent ..; setUITemplate -popTemplate; }