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

28 行
715 B

using System;
using UnityEditor.Graphing;
using UnityEngine;
namespace UnityEditor.ShaderGraph
{
public interface IShaderProperty
{
string displayName { get; set; }
string referenceName { get; }
PropertyType propertyType { get; }
Guid guid { get; }
bool generatePropertyBlock { get; set; }
Vector4 defaultValue { get; }
string overrideReferenceName { get; set; }
string GetPropertyBlockString();
string GetPropertyDeclarationString(string delimiter = ";");
string GetPropertyAsArgumentString();
PreviewProperty GetPreviewMaterialProperty();
INode ToConcreteNode();
IShaderProperty Copy();
}
}