Create Orthogonal Vector.asset 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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: Create Orthogonal Vector
  14. m_EditorClassIdentifier:
  15. m_functionInfo: "// Made with Amplify Shader Editor v1.9.1\n// Available at the
  16. Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19100\nNode;AmplifyShaderEditor.CrossProductOpNode;28;-512,192;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;26;-896,208;Inherit;False;Vector
  17. 2;3;1;False;1;0;FLOAT3;0,1,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.CrossProductOpNode;30;-96,128;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.NormalizeNode;29;-336,192;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.NormalizeNode;27;-720,0;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;25;-896,0;Inherit;False;Vector
  18. 1;3;0;False;1;0;FLOAT3;1,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.NormalizeNode;31;-720,208;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;0;128,0;Inherit;False;True;-1;Vector
  19. 1;0;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;2;128,256;Inherit;False;False;-1;Vector
  20. 3;2;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;1;128,128;Inherit;False;False;-1;Vector
  21. 2;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nWireConnection;28;0;27;0\nWireConnection;28;1;31;0\nWireConnection;30;0;29;0\nWireConnection;30;1;27;0\nWireConnection;29;0;28;0\nWireConnection;27;0;25;0\nWireConnection;31;0;26;0\nWireConnection;0;0;27;0\nWireConnection;2;0;29;0\nWireConnection;1;0;30;0\nASEEND*/\n//CHKSM=172523F2045EF366EBFE0282E8D677D559BEBEA0"
  22. m_functionName:
  23. m_description: Providing two vectors creates a third one which is orthogonal to
  24. the first two. It uses the first vector as the main guiding vector changing the
  25. second accordingly. All results are normalized.
  26. m_additionalIncludes:
  27. m_additionalIncludes: []
  28. m_outsideIncludes: []
  29. m_additionalPragmas:
  30. m_additionalPragmas: []
  31. m_outsidePragmas: []
  32. m_additionalDirectives:
  33. m_validData: 0
  34. m_isDirty: 0
  35. m_moduleName: ' Additional Directives'
  36. m_independentModule: 1
  37. m_customEdited: 0
  38. m_additionalDirectives: []
  39. m_shaderFunctionDirectives: []
  40. m_nativeDirectives: []
  41. m_nativeDirectivesIndex: -1
  42. m_nativeDirectivesFoldout: 0
  43. m_directivesSaveItems: []
  44. m_nodeCategory: 16
  45. m_headerStyle: 1
  46. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  47. m_customNodeCategory:
  48. m_previewPosition: 1
  49. m_hidden: 0
  50. m_url: