%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3} m_Name: Polar Coordinates m_EditorClassIdentifier: m_functionInfo: "// Made with Amplify Shader Editor v1.9.2.2\n// Available at the Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19202\nNode;AmplifyShaderEditor.CommentaryNode;66;-1312.541,-1064.197;Inherit;False;588.9905;563.3602;scale of angle value;10;63;42;43;40;44;41;39;35;64;29;;0,0,0,1;0;0\nNode;AmplifyShaderEditor.CommentaryNode;61;-1467.753,-1362;Inherit;False;151.8725;171.1069;CenteredUV;1;34;;0,0,0,1;0;0\nNode;AmplifyShaderEditor.CommentaryNode;24;-832,-1456;Inherit;False;164;161;Radius;1;48;;0.1698113,0.1698113,0.1698113,1;0;0\nNode;AmplifyShaderEditor.StickyNoteNode;25;-240,-1568;Inherit;False;412.2337;132.8519;UV Polar Coordinates Node;;0,0,0,1;The Polar Coordinates node converts UV coordinates to polar coordinates - so instead of U and V going in straight horizontal and vertical lines, U goes around in a circle and V goes away from the center.;0;0\nNode;AmplifyShaderEditor.StickyNoteNode;26;-1648,-1424;Inherit;False;150;100;UV;;0,0,0,1;the input UV coordinates;0;0\nNode;AmplifyShaderEditor.StickyNoteNode;27;-1648,-1136;Inherit;False;162.0815;100;Center;;0.0471698,0.0471698,0.0471698,1;center reference point;0;0\nNode;AmplifyShaderEditor.StickyNoteNode;28;-1184,-1520;Inherit;False;281.3896;101.4721;Radial Scale;;0.1792453,0.1682538,0.1682538,1;scale of distance value$radius = length(delta) * 2 * RadialScale;0;0\nNode;AmplifyShaderEditor.StickyNoteNode;29;-1232,-656;Inherit;False;439.6738;104.0697;;;0,0,0,1;angle = atan2(delta.x, delta.y) * 1.0 / 6.28 * LengthScale;0;0\nNode;AmplifyShaderEditor.WireNode;36;-1295.976,-1238.197;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.StickyNoteNode;46;-640,-848;Inherit;False;178.8835;111.816;Length Scale;;0,0,0,1;scale of angle value;0;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;34;-1456,-1312;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.FunctionInput;1;-1648,-1312;Inherit;False;UV;2;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;48;-816,-1408;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;3;-1056,-1408;Inherit;False;Radial Scale;1;2;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;32;-1184,-1232;Inherit;False;Constant;_Float4;Float 2;0;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LengthOpNode;31;-1184,-1312;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;33;-1024,-1312;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StickyNoteNode;64;-944,-768;Inherit;False;150;100;;;0,0,0,1;1 * 6.28 ;0;0\nNode;AmplifyShaderEditor.WireNode;35;-1295.976,-1014.197;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;39;-1199.976,-1014.197;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.ATan2OpNode;41;-1087.976,-1014.197;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;44;-911.976,-1014.197;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.WireNode;57;-288,-1312;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;50;-240,-1408;Inherit;False;FLOAT2;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;53;-48,-1312;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.FunctionInput;4;-640,-928;Inherit;False;Length Scale;1;3;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;45;-448,-1008;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleDivideOpNode;40;-1056,-912;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TauNode;42;-1200,-832;Inherit;False;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;43;-1232,-912;Inherit;False;Constant;_Float5;Float 3;0;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;63;-1088,-768;Inherit;False;2;2;0;FLOAT;1;False;1;FLOAT;6.28;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TexCoordVertexDataNode;59;-1920,-1312;Inherit;False;0;2;0;5;FLOAT2;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.FunctionInput;2;-1648,-1216;Inherit;False;Center;2;1;False;1;0;FLOAT2;0.5,0.5;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.WireNode;49;-288,-1040;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;55;80,-1312;Inherit;False;False;-1;U;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;56;80,-1232;Inherit;False;False;-1;V;2;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;80,-1408;Inherit;False;True;-1;UV;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nWireConnection;36;0;34;0\nWireConnection;34;0;1;0\nWireConnection;34;1;2;0\nWireConnection;1;0;59;0\nWireConnection;48;0;3;0\nWireConnection;48;1;33;0\nWireConnection;31;0;34;0\nWireConnection;33;0;31;0\nWireConnection;33;1;32;0\nWireConnection;35;0;36;0\nWireConnection;39;0;35;0\nWireConnection;41;0;39;0\nWireConnection;41;1;39;1\nWireConnection;44;0;41;0\nWireConnection;44;1;40;0\nWireConnection;57;0;49;0\nWireConnection;50;0;48;0\nWireConnection;50;1;57;0\nWireConnection;53;0;50;0\nWireConnection;45;0;44;0\nWireConnection;45;1;4;0\nWireConnection;40;0;43;0\nWireConnection;40;1;42;0\nWireConnection;49;0;45;0\nWireConnection;55;0;53;0\nWireConnection;56;0;53;1\nWireConnection;0;0;50;0\nASEEND*/\n//CHKSM=254F3BC9D1F5F09755B5A886474C34B2D1C93F39" m_functionName: m_description: 'UV Polar Coordinates Node Transforms the given UVs into polar coordinates and returns both distance to center (X) and angle(Y) ' m_additionalIncludes: m_additionalIncludes: [] m_outsideIncludes: [] m_additionalPragmas: m_additionalPragmas: [] m_outsidePragmas: [] m_additionalDirectives: m_validData: 0 m_isDirty: 0 m_moduleName: ' Additional Directives' m_independentModule: 1 m_customEdited: 0 m_additionalDirectives: [] m_shaderFunctionDirectives: [] m_nativeDirectives: [] m_nativeDirectivesIndex: -1 m_nativeDirectivesFoldout: 0 m_directivesSaveItems: [] m_nodeCategory: 14 m_headerStyle: 1 m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} m_customNodeCategory: m_previewPosition: 0 m_hidden: 0 m_url: