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

27 行
683 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();
}
}