浏览代码

Update Blend node

/main
Matt Dean 7 年前
当前提交
b60e8b5a
共有 3 个文件被更改,包括 16 次插入8 次删除
  1. 2
      MaterialGraphProject/Assets/NewNodes/Editor/Keep/BlendModesEnum.cs
  2. 14
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Blend/BlendNode.cs
  3. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Blend.meta

2
MaterialGraphProject/Assets/NewNodes/Editor/Keep/BlendModesEnum.cs


namespace UnityEditor.ShaderGraph
{
public enum BlendModesEnum
public enum BlendMode
{
Burn,
Darken,

14
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Blend/BlendNode.cs


namespace UnityEditor.ShaderGraph
{
[Title("Art", "BlendMode")]
public class BlendModeNode : CodeFunctionNode
[Title("Artistic", "Blend", "Blend")]
public class BlendNode : CodeFunctionNode
public BlendModeNode()
public BlendNode()
name = "BlendMode";
name = "Blend";
return System.Enum.GetName(typeof(BlendModesEnum), m_BlendMode);
return System.Enum.GetName(typeof(BlendMode), m_BlendMode);
BlendModesEnum m_BlendMode;
BlendMode m_BlendMode = BlendMode.Overlay;
public BlendModesEnum blendMode
public BlendMode blendMode
{
get { return m_BlendMode; }
set

8
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Blend.meta


fileFormatVersion: 2
guid: f85e7557d4bb9874882ec3fa3044a53e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存