您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

35 行
815 B

using System;
using System.Text;
using UnityEngine;
/*namespace UnityEditor.ShaderGraph
{
[Serializable]
public class Sampler2DShaderProperty : AbstractShaderProperty<object>
{
public override PropertyType propertyType
{
get { return PropertyType.SamplerState; }
}
public override Vector4 defaultValue
{
get { return new Vector4(); }
}
public override string GetPropertyBlockString()
{
return string.Empty;
}
public override string GetPropertyDeclarationString()
{
return "sampler2D " + referenceName + ";";
}
public override PreviewProperty GetPreviewMaterialProperty()
{
return default(PreviewProperty);
}
}
}*/