您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
24 行
657 B
24 行
657 B
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine.Graphing;
|
|
|
|
namespace UnityEngine.MaterialGraph
|
|
{
|
|
[Serializable]
|
|
public abstract class AbstractMasterNode : AbstractMaterialNode, IMasterNode
|
|
{
|
|
protected override bool generateDefaultInputs { get { return false; } }
|
|
|
|
public override IEnumerable<ISlot> GetInputsWithNoConnection()
|
|
{
|
|
return new List<ISlot>();
|
|
}
|
|
|
|
public override bool hasPreview
|
|
{
|
|
get { return true; }
|
|
}
|
|
|
|
public abstract string GetShader(GenerationMode mode, out List<PropertyGenerator.TextureInfo> configuredTextures);
|
|
}
|
|
}
|