浏览代码

Move IMayRequireNormal into own file

/main
Peter Bay Bastian 7 年前
当前提交
d69d3c1d
共有 3 个文件被更改,包括 10 次插入5 次删除
  1. 5
      MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Nodes/Input/Geometry/WorldSpaceNormalNode.cs
  2. 7
      MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Interfaces/IMayRequireNormal.cs
  3. 3
      MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Interfaces/IMayRequireNormal.cs.meta

5
MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Nodes/Input/Geometry/WorldSpaceNormalNode.cs


namespace UnityEngine.MaterialGraph
{
public interface IMayRequireNormal
{
bool RequiresNormal();
}
[Title("Input/Geometry/World Normal")]
public class WorldSpaceNormalNode : AbstractMaterialNode, IMayRequireNormal
{

7
MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Interfaces/IMayRequireNormal.cs


namespace UnityEngine.MaterialGraph
{
public interface IMayRequireNormal
{
bool RequiresNormal();
}
}

3
MaterialGraphProject/Assets/UnityShaderEditor/Runtime/Interfaces/IMayRequireNormal.cs.meta


fileFormatVersion: 2
guid: 51bb8f11fbcf43f9bcec6418f1991397
timeCreated: 1504092018
正在加载...
取消
保存