Rectangle.asset 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!114 &11400000
  4. MonoBehaviour:
  5. m_ObjectHideFlags: 0
  6. m_CorrespondingSourceObject: {fileID: 0}
  7. m_PrefabInstance: {fileID: 0}
  8. m_PrefabAsset: {fileID: 0}
  9. m_GameObject: {fileID: 0}
  10. m_Enabled: 1
  11. m_EditorHideFlags: 0
  12. m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3}
  13. m_Name: Rectangle
  14. m_EditorClassIdentifier:
  15. m_functionInfo: "// Made with Amplify Shader Editor v1.9.7\n// Available at the
  16. Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19700\nNode;AmplifyShaderEditor.FunctionInput;3;-272,80;Inherit;False;Height;1;2;False;1;0;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;2;-272,0;Inherit;False;Width;1;1;False;1;0;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;10;-80,0;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.ScaleAndOffsetNode;7;-288,-128;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT;2;False;2;FLOAT;-1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.TexCoordVertexDataNode;4;-688,-128;Inherit;False;0;2;0;5;FLOAT2;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.FunctionInput;1;-464,-128;Inherit;False;UV;2;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.AbsOpNode;18;-80,-128;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;11;96,-64;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.FWidthOpNode;14;272,32;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMinOpNode;15;1008,-64;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;17;1136,-64;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;16;880,-64;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.OneMinusNode;12;720,-64;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleDivideOpNode;13;576,-64;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;21;432,32;Inherit;False;2;0;FLOAT2;1E-05,0;False;1;FLOAT2;1E-05,1E-05;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.FunctionOutput;0;1296,-64;Inherit;False;True;-1;;0;True;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;10;0;2;0\nWireConnection;10;1;3;0\nWireConnection;7;0;1;0\nWireConnection;1;0;4;0\nWireConnection;18;0;7;0\nWireConnection;11;0;18;0\nWireConnection;11;1;10;0\nWireConnection;14;0;11;0\nWireConnection;15;0;16;0\nWireConnection;15;1;16;1\nWireConnection;17;0;15;0\nWireConnection;16;0;12;0\nWireConnection;12;0;13;0\nWireConnection;13;0;11;0\nWireConnection;13;1;21;0\nWireConnection;21;0;14;0\nWireConnection;0;0;17;0\nASEEND*/\n//CHKSM=3D7EFCDC809BE80AA56F2EF25143949172006991"
  17. m_functionName:
  18. m_description: "Creates a rectangle shape, with hard corners, from a given size.\n\nThe
  19. input UV coordinates can modified to tile or offset the shape as needed. However,
  20. to maintain offset capability within the UV space, the shape will not repeat
  21. automatically when tiled. For a repeating rounded polygon effect, route your
  22. UV input through a Fract node first.\n\n* Width: Rectangle width\r\n\r\n* Height:
  23. Rectangle height\r"
  24. m_additionalIncludes:
  25. m_additionalIncludes: []
  26. m_outsideIncludes: []
  27. m_additionalPragmas:
  28. m_additionalPragmas: []
  29. m_outsidePragmas: []
  30. m_additionalDirectives:
  31. m_validData: 0
  32. m_isDirty: 0
  33. m_moduleName: ' Additional Directives'
  34. m_independentModule: 1
  35. m_customEdited: 0
  36. m_additionalDirectives: []
  37. m_shaderFunctionDirectives: []
  38. m_nativeDirectives: []
  39. m_nativeDirectivesIndex: -1
  40. m_nativeDirectivesFoldout: 0
  41. m_directivesSaveItems: []
  42. m_nodeCategory: 9
  43. m_headerStyle: 1
  44. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  45. m_customNodeCategory:
  46. m_previewPosition: 0
  47. m_hidden: 0
  48. m_url: