浏览代码

Switch Cross Product node to Vector3 ports

/main
Matt Dean 7 年前
当前提交
f4ca23e8
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Math/Vector/CrossProductNode.cs

8
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Math/Vector/CrossProductNode.cs


using System.Reflection;
using UnityEngine;
namespace UnityEditor.ShaderGraph
{

}
static string Unity_CrossProduct(
[Slot(0, Binding.None)] DynamicDimensionVector A,
[Slot(1, Binding.None)] DynamicDimensionVector B,
[Slot(2, Binding.None)] out DynamicDimensionVector Out)
[Slot(0, Binding.None)] Vector3 A,
[Slot(1, Binding.None)] Vector3 B,
[Slot(2, Binding.None)] out Vector3 Out)
Out = Vector3.zero;
return
@"
{

正在加载...
取消
保存