UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/Common/Subgraphs/Switch6.shadersubgraph
2024-10-27 10:53:47 +03:00

1164 lines
27 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "ec75b68da9e340f0a9d1980d35b20397",
"m_Properties": [
{
"m_Id": "cb329dca8610424a96aae23797f5d199"
},
{
"m_Id": "c28ae39dd0bc4e7f9a1af16710a69bf5"
},
{
"m_Id": "26c8f245ba6a4eb4bf4b120e5aaf4359"
},
{
"m_Id": "35eaeab5fe764cd2865c09df94b176cd"
},
{
"m_Id": "19c210f66a974620a27313de91fc1f12"
},
{
"m_Id": "d9b71485a2064058b4dc77cc6019469b"
},
{
"m_Id": "a2c8adaf34c14e5bad800bb488722a2b"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "2ca0e86a3d014bf0a1c3fc4e373a7795"
}
],
"m_Nodes": [
{
"m_Id": "08c0a25d5ac849a798860dad1171b059"
},
{
"m_Id": "f491a244a7ac48fa9530806a83d4c9bf"
},
{
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
{
"m_Id": "5345a2b44d6c47fb99957f3c775d4144"
},
{
"m_Id": "22d4a0b98e6745358642435f352b7477"
},
{
"m_Id": "ea8f7356260240dd8c2fb637c762141d"
},
{
"m_Id": "d5b0e2f5c1144b8fbcee6f2d8aae7037"
},
{
"m_Id": "773d5d0a03f642a18db439b10cccc41f"
},
{
"m_Id": "3afeb9851d8e4bcfa871d9e7c04964f7"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "22d4a0b98e6745358642435f352b7477"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3afeb9851d8e4bcfa871d9e7c04964f7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 6
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 7
},
"m_InputSlot": {
"m_Node": {
"m_Id": "08c0a25d5ac849a798860dad1171b059"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5345a2b44d6c47fb99957f3c775d4144"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "773d5d0a03f642a18db439b10cccc41f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d5b0e2f5c1144b8fbcee6f2d8aae7037"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ea8f7356260240dd8c2fb637c762141d"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f491a244a7ac48fa9530806a83d4c9bf"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42498302ac764da3bfbfa011ea59470b"
},
"m_SlotId": 0
}
}
],
"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": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "08c0a25d5ac849a798860dad1171b059"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "08c0a25d5ac849a798860dad1171b059",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -271.0000305175781,
"y": 21.00002670288086,
"width": 85.50004577636719,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "9c28cd8a8b804126b55cac8f028021d2"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "0b8f4134c9ee427ca25264ba4de2d15c",
"m_Id": 0,
"m_DisplayName": "Three",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "192be3567a2341219a16ae3a6fd15458",
"m_Id": 1,
"m_DisplayName": "One",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "One",
"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_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "19c210f66a974620a27313de91fc1f12",
"m_Guid": {
"m_GuidSerialized": "6435cab7-4414-42e3-b93a-3285467a6eb6"
},
"m_Name": "Four",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Four",
"m_DefaultReferenceName": "_Four",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "220d7adcca0e423c89e19b1aef5949ef",
"m_Id": 7,
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "22d4a0b98e6745358642435f352b7477",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -605.0,
"y": 98.5,
"width": 99.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "780c0fa879664f5f9e53b0718c975743"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "26c8f245ba6a4eb4bf4b120e5aaf4359"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "26c8f245ba6a4eb4bf4b120e5aaf4359",
"m_Guid": {
"m_GuidSerialized": "c4aa2b44-6532-40e6-9269-8fdb0d4a9104"
},
"m_Name": "Two",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Two",
"m_DefaultReferenceName": "_Two",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "286aeb67ba434d518e92d30813c65f32",
"m_Id": 3,
"m_DisplayName": "Three",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Three",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "2ca0e86a3d014bf0a1c3fc4e373a7795",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "cb329dca8610424a96aae23797f5d199"
},
{
"m_Id": "c28ae39dd0bc4e7f9a1af16710a69bf5"
},
{
"m_Id": "26c8f245ba6a4eb4bf4b120e5aaf4359"
},
{
"m_Id": "35eaeab5fe764cd2865c09df94b176cd"
},
{
"m_Id": "19c210f66a974620a27313de91fc1f12"
},
{
"m_Id": "d9b71485a2064058b4dc77cc6019469b"
},
{
"m_Id": "a2c8adaf34c14e5bad800bb488722a2b"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "35eaeab5fe764cd2865c09df94b176cd",
"m_Guid": {
"m_GuidSerialized": "e5be8be8-337c-4efa-9ed1-be2c9a098301"
},
"m_Name": "Three",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Three",
"m_DefaultReferenceName": "_Three",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "3afeb9851d8e4bcfa871d9e7c04964f7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -599.0,
"y": 234.5,
"width": 93.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "bcba325afe7842dcaaab04783c6e6004"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "a2c8adaf34c14e5bad800bb488722a2b"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "42498302ac764da3bfbfa011ea59470b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Switch6 (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -480.5,
"y": 21.0,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "54d355b2554c4ff398f487d8f0f7cf9a"
},
{
"m_Id": "192be3567a2341219a16ae3a6fd15458"
},
{
"m_Id": "63fe6445f2e7408aafdd10e57d0042bd"
},
{
"m_Id": "286aeb67ba434d518e92d30813c65f32"
},
{
"m_Id": "7d63ddaa420c431999c5b01082406ceb"
},
{
"m_Id": "58d8782c436948e5bc4d2fc373b9e684"
},
{
"m_Id": "a3322c2f7fb54adca133e48fe6f7d689"
},
{
"m_Id": "220d7adcca0e423c89e19b1aef5949ef"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "Switch6",
"m_FunctionSource": "",
"m_FunctionBody": "[branch] switch(int(a))\r\n{\r\n case 0:\r\n Out = One; break;\r\n case 1:\r\n Out = Two; break;\r\n case 2:\r\n Out = Three; break;\n case 3:\r\n Out = Four; break;\n case 4:\r\n Out = Five; break;\n case 5:\r\n Out = Six; break;\r\n default:\r\n Out = One; break;\r\n}"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "4df89f3a669541c4a802cef7db98e202",
"m_Id": 0,
"m_DisplayName": "Five",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5345a2b44d6c47fb99957f3c775d4144",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -604.5,
"y": 64.5,
"width": 98.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "d76ad979330542f3b3ed089ee1e5ea54"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "c28ae39dd0bc4e7f9a1af16710a69bf5"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "54d355b2554c4ff398f487d8f0f7cf9a",
"m_Id": 0,
"m_DisplayName": "a",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "a",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "58d8782c436948e5bc4d2fc373b9e684",
"m_Id": 5,
"m_DisplayName": "Five",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Five",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "63fe6445f2e7408aafdd10e57d0042bd",
"m_Id": 2,
"m_DisplayName": "Two",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Two",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "773d5d0a03f642a18db439b10cccc41f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -604.5,
"y": 200.5,
"width": 98.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "4df89f3a669541c4a802cef7db98e202"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "d9b71485a2064058b4dc77cc6019469b"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "780c0fa879664f5f9e53b0718c975743",
"m_Id": 0,
"m_DisplayName": "Two",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "7d63ddaa420c431999c5b01082406ceb",
"m_Id": 4,
"m_DisplayName": "Four",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Four",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "9c28cd8a8b804126b55cac8f028021d2",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"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_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "a2c8adaf34c14e5bad800bb488722a2b",
"m_Guid": {
"m_GuidSerialized": "292e11ad-c847-458f-9b79-e3a812bc590c"
},
"m_Name": "Six",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Six",
"m_DefaultReferenceName": "_Six",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "a3322c2f7fb54adca133e48fe6f7d689",
"m_Id": 6,
"m_DisplayName": "Six",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Six",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a3e91ad68dfd43008beb1e6ed96097cc",
"m_Id": 0,
"m_DisplayName": "Switch",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "bcba325afe7842dcaaab04783c6e6004",
"m_Id": 0,
"m_DisplayName": "Six",
"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_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "c28ae39dd0bc4e7f9a1af16710a69bf5",
"m_Guid": {
"m_GuidSerialized": "f4a04e84-68c7-45ed-9e1b-1fab8c305d61"
},
"m_Name": "One",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "One",
"m_DefaultReferenceName": "_One",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "cb329dca8610424a96aae23797f5d199",
"m_Guid": {
"m_GuidSerialized": "36f983fa-46ff-437f-ba97-0616e9b49241"
},
"m_Name": "Switch",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Switch",
"m_DefaultReferenceName": "_Switch",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "d5b0e2f5c1144b8fbcee6f2d8aae7037",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -606.5,
"y": 166.5,
"width": 100.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "e6e772207be94696bb6c0594d7cf442f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "19c210f66a974620a27313de91fc1f12"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "d76ad979330542f3b3ed089ee1e5ea54",
"m_Id": 0,
"m_DisplayName": "One",
"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_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "d9b71485a2064058b4dc77cc6019469b",
"m_Guid": {
"m_GuidSerialized": "21227493-6147-4f3e-a08c-b17cbfc46a48"
},
"m_Name": "Five",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Five",
"m_DefaultReferenceName": "_Five",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "e6e772207be94696bb6c0594d7cf442f",
"m_Id": 0,
"m_DisplayName": "Four",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "ea8f7356260240dd8c2fb637c762141d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -613.5,
"y": 132.5,
"width": 107.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "0b8f4134c9ee427ca25264ba4de2d15c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "35eaeab5fe764cd2865c09df94b176cd"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "f491a244a7ac48fa9530806a83d4c9bf",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -616.5,
"y": 30.5,
"width": 110.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "a3e91ad68dfd43008beb1e6ed96097cc"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "cb329dca8610424a96aae23797f5d199"
}
}