{ "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.GraphData", "m_ObjectId": "bf0e5cd4c66c499cb0ece89cca18b3c9", "m_Properties": [ { "m_Id": "5e64e5f179a24af08b4c3f1bce187b06" } ], "m_Keywords": [], "m_Dropdowns": [ { "m_Id": "1af3eb1743bd40d889bdfa68ecd4a647" } ], "m_CategoryData": [ { "m_Id": "a3a99a6001824cd6b43d606acec2a6f5" } ], "m_Nodes": [ { "m_Id": "9449855d3855413a8290ae113a757c4c" }, { "m_Id": "a199c269be804e1abc674bba5a3eb60b" }, { "m_Id": "65fbd4afb02d4046bee93496c96d52f6" }, { "m_Id": "550f398fdd9045ff883b6303d471b52b" }, { "m_Id": "338061c44f95492498b8b07f09eb4bd8" }, { "m_Id": "638ac78191b5447382895bb2d9044880" }, { "m_Id": "12446d43cd564a6db628c082ed73ecea" } ], "m_GroupDatas": [], "m_StickyNoteDatas": [], "m_Edges": [ { "m_OutputSlot": { "m_Node": { "m_Id": "12446d43cd564a6db628c082ed73ecea" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "a199c269be804e1abc674bba5a3eb60b" }, "m_SlotId": 3 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "338061c44f95492498b8b07f09eb4bd8" }, "m_SlotId": 1 }, "m_InputSlot": { "m_Node": { "m_Id": "550f398fdd9045ff883b6303d471b52b" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "550f398fdd9045ff883b6303d471b52b" }, "m_SlotId": 2 }, "m_InputSlot": { "m_Node": { "m_Id": "9449855d3855413a8290ae113a757c4c" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "638ac78191b5447382895bb2d9044880" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "65fbd4afb02d4046bee93496c96d52f6" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "638ac78191b5447382895bb2d9044880" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "65fbd4afb02d4046bee93496c96d52f6" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "65fbd4afb02d4046bee93496c96d52f6" }, "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { "m_Id": "550f398fdd9045ff883b6303d471b52b" }, "m_SlotId": 1 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a199c269be804e1abc674bba5a3eb60b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "338061c44f95492498b8b07f09eb4bd8" }, "m_SlotId": 0 } }, { "m_OutputSlot": { "m_Node": { "m_Id": "a199c269be804e1abc674bba5a3eb60b" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { "m_Id": "65fbd4afb02d4046bee93496c96d52f6" }, "m_SlotId": 2 } } ], "m_VertexContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [] }, "m_FragmentContext": { "m_Position": { "x": 0.0, "y": 0.0 }, "m_Blocks": [] }, "m_PreviewData": { "serializedMesh": { "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", "m_Guid": "" }, "preventRotation": false }, "m_Path": "Utility/UGUI", "m_GraphPrecision": 1, "m_PreviewMode": 1, "m_OutputNode": { "m_Id": "9449855d3855413a8290ae113a757c4c" }, "m_SubDatas": [], "m_ActiveTargets": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot", "m_ObjectId": "0e3ba5f632c2440ab474831d16f1ab16", "m_Id": 0, "m_DisplayName": "Input", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Input", "m_StageCapability": 3 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2Node", "m_ObjectId": "12446d43cd564a6db628c082ed73ecea", "m_Group": { "m_Id": "" }, "m_Name": "Vector 2", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -830.9999389648438, "y": 25.000028610229493, "width": 128.0, "height": 100.99998474121094 } }, "m_Slots": [ { "m_Id": "4d3339bc39ea4e8697e8a16b4b0a3a74" }, { "m_Id": "6051ced89fcb4085878d5c63c4337c06" }, { "m_Id": "836326224fd0412ab8c860923ed8d436" } ], "synonyms": [ "2", "v2", "vec2", "float2" ], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Value": { "x": 0.0, "y": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ShaderDropdown", "m_ObjectId": "1af3eb1743bd40d889bdfa68ecd4a647", "m_Guid": { "m_GuidSerialized": "0c74d9a9-3643-4486-b032-d8d60ffb56e7" }, "m_Name": "Preview", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Preview", "m_DefaultReferenceName": "_Preview", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": false, "m_CustomSlotLabel": "", "m_DismissedVersion": 0, "m_Entries": [ { "id": 3, "displayName": "Left To Right" }, { "id": 1, "displayName": "Right To Left" }, { "id": 2, "displayName": "Bottom To Top" }, { "id": 4, "displayName": "Top To Bottom" } ], "m_Value": 0 } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.RedirectNodeData", "m_ObjectId": "338061c44f95492498b8b07f09eb4bd8", "m_Group": { "m_Id": "" }, "m_Name": "Redirect Node", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -173.99998474121095, "y": 71.00003051757813, "width": 56.000038146972659, "height": 23.999977111816408 } }, "m_Slots": [ { "m_Id": "e233c75976164c759c12a7f343f1635c" }, { "m_Id": "f1e85a7154ea474f81c0c7b375b4c78a" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "420a961a31934af4a382f57f3b77466b", "m_Id": 1, "m_DisplayName": "Input", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Input", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "4be0f682be164f9d8cf441da15cf6384", "m_Id": 2, "m_DisplayName": "Bottom To Top", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Bottom To Top", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 1.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "4d3339bc39ea4e8697e8a16b4b0a3a74", "m_Id": 1, "m_DisplayName": "X", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "X", "m_StageCapability": 3, "m_Value": 1.0, "m_DefaultValue": 0.0, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "4f13813f7c024cfcb452153d5c31510f", "m_Id": 0, "m_DisplayName": "SGPreview", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "SGPreview", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode", "m_ObjectId": "550f398fdd9045ff883b6303d471b52b", "m_Group": { "m_Id": "" }, "m_Name": "DirectionSgPreview (Custom Function)", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -85.99999237060547, "y": -97.99995422363281, "width": 215.00003051757813, "height": 117.99996948242188 } }, "m_Slots": [ { "m_Id": "420a961a31934af4a382f57f3b77466b" }, { "m_Id": "4f13813f7c024cfcb452153d5c31510f" }, { "m_Id": "c3345dbee10a4ac9a3156ce4c3d79e58" } ], "synonyms": [ "code", "HLSL" ], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_SourceType": 1, "m_FunctionName": "DirectionSgPreview", "m_FunctionSource": "", "m_FunctionSourceUsePragmas": true, "m_FunctionBody": "#if SHADERGRAPH_PREVIEW\nOut = SGPreview;\n#else\nOut = Input;\n#endif\n" } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "59cd9498dd5a4e24b9199267c5d8603d", "m_Id": 2, "m_DisplayName": "NotConnected", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "NotConnected", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 1, "m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty", "m_ObjectId": "5e64e5f179a24af08b4c3f1bce187b06", "m_Guid": { "m_GuidSerialized": "68cd7b82-08a0-457e-b8a5-138b398e335b" }, "m_Name": "Slider Direction", "m_DefaultRefNameVersion": 1, "m_RefNameGeneratedByDisplayName": "Slider Direction", "m_DefaultReferenceName": "_Slider_Direction", "m_OverrideReferenceName": "", "m_GeneratePropertyBlock": true, "m_UseCustomSlotLabel": true, "m_CustomSlotLabel": "Preview", "m_DismissedVersion": 0, "m_Precision": 0, "overrideHLSLDeclaration": false, "hlslDeclarationOverride": 0, "m_Hidden": false, "m_Value": { "x": 1.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", "m_ObjectId": "6051ced89fcb4085878d5c63c4337c06", "m_Id": 2, "m_DisplayName": "Y", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Y", "m_StageCapability": 3, "m_Value": 0.0, "m_DefaultValue": 0.0, "m_Labels": [ "Y" ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.PropertyNode", "m_ObjectId": "638ac78191b5447382895bb2d9044880", "m_Group": { "m_Id": "" }, "m_Name": "Property", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -323.9999694824219, "y": -131.99998474121095, "width": 156.0, "height": 34.000030517578128 } }, "m_Slots": [ { "m_Id": "d5d86342e25a409bb68112aa9d404f35" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Property": { "m_Id": "5e64e5f179a24af08b4c3f1bce187b06" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BranchOnInputConnectionNode", "m_ObjectId": "65fbd4afb02d4046bee93496c96d52f6", "m_Group": { "m_Id": "" }, "m_Name": "Branch On Input Connection", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -323.9999694824219, "y": -97.99995422363281, "width": 206.00003051757813, "height": 142.0 } }, "m_Slots": [ { "m_Id": "0e3ba5f632c2440ab474831d16f1ab16" }, { "m_Id": "e3e786cdfacd48bd8af42f487de1950b" }, { "m_Id": "59cd9498dd5a4e24b9199267c5d8603d" }, { "m_Id": "fe845c74b8524aa7a3062b56bbc29749" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "7761ea1a833a415988271af601a95730", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "836326224fd0412ab8c860923ed8d436", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "83cde985e5b9443daee3c8eb669f0e6d", "m_Id": 1, "m_DisplayName": "State", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "State", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "879134a34c234089b9efb4fc9858d647", "m_Id": 4, "m_DisplayName": "Top To Bottom", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Top To Bottom", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": -1.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", "m_ObjectId": "9449855d3855413a8290ae113a757c4c", "m_Group": { "m_Id": "" }, "m_Name": "Output", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": 179.0, "y": -98.0, "width": 86.0, "height": 77.0 } }, "m_Slots": [ { "m_Id": "83cde985e5b9443daee3c8eb669f0e6d" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": true, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "IsFirstSlotValid": true } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DropdownNode", "m_ObjectId": "a199c269be804e1abc674bba5a3eb60b", "m_Group": { "m_Id": "" }, "m_Name": "Preview", "m_DrawState": { "m_Expanded": true, "m_Position": { "serializedVersion": "2", "x": -545.0, "y": 25.000001907348634, "width": 178.0, "height": 190.00001525878907 } }, "m_Slots": [ { "m_Id": "7761ea1a833a415988271af601a95730" }, { "m_Id": "ff387baec14e4ef2b220402bb667c17a" }, { "m_Id": "cb85ae2349c7456d8f8536a569751fa1" }, { "m_Id": "4be0f682be164f9d8cf441da15cf6384" }, { "m_Id": "879134a34c234089b9efb4fc9858d647" } ], "synonyms": [], "m_Precision": 0, "m_PreviewExpanded": false, "m_DismissedVersion": 0, "m_PreviewMode": 0, "m_CustomColors": { "m_SerializableColors": [] }, "m_Dropdown": { "m_Id": "1af3eb1743bd40d889bdfa68ecd4a647" } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.CategoryData", "m_ObjectId": "a3a99a6001824cd6b43d606acec2a6f5", "m_Name": "", "m_ChildObjectList": [ { "m_Id": "5e64e5f179a24af08b4c3f1bce187b06" }, { "m_Id": "1af3eb1743bd40d889bdfa68ecd4a647" } ] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "c3345dbee10a4ac9a3156ce4c3d79e58", "m_Id": 2, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "cb85ae2349c7456d8f8536a569751fa1", "m_Id": 1, "m_DisplayName": "Right To Left", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Right To Left", "m_StageCapability": 3, "m_Value": { "x": -1.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", "m_ObjectId": "d5d86342e25a409bb68112aa9d404f35", "m_Id": 0, "m_DisplayName": "Slider Direction", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0 }, "m_Labels": [] } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "e233c75976164c759c12a7f343f1635c", "m_Id": 0, "m_DisplayName": "", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "e3e786cdfacd48bd8af42f487de1950b", "m_Id": 1, "m_DisplayName": "Connected", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Connected", "m_StageCapability": 3, "m_Value": { "x": 1.0, "y": 1.0, "z": 1.0, "w": 1.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "f1e85a7154ea474f81c0c7b375b4c78a", "m_Id": 1, "m_DisplayName": "", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "fe845c74b8524aa7a3062b56bbc29749", "m_Id": 3, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } } { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", "m_ObjectId": "ff387baec14e4ef2b220402bb667c17a", "m_Id": 3, "m_DisplayName": "Left To Right", "m_SlotType": 0, "m_Hidden": false, "m_ShaderOutputName": "Left To Right", "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 }, "m_DefaultValue": { "x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0 } }