Boat Attack使用了Universal RP的许多新图形功能,可以用于探索 Universal RP 的使用方式和技巧。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

46 行
1.1 KiB

using UnityEngine.Scripting.APIUpdating;
namespace UnityEditor.Rendering.Universal
{
[MovedFrom("UnityEditor.Rendering.LWRP")] public enum UpgradeSurfaceType
{
Opaque,
Transparent
}
[MovedFrom("UnityEditor.Rendering.LWRP")] public enum UpgradeBlendMode
{
Alpha,
Premultiply,
Additive,
Multiply
}
[MovedFrom("UnityEditor.Rendering.LWRP")] public enum SpecularSource
{
SpecularTextureAndColor,
NoSpecular
}
[MovedFrom("UnityEditor.Rendering.LWRP")] public enum SmoothnessSource
{
BaseAlpha,
SpecularAlpha
}
[MovedFrom("UnityEditor.Rendering.LWRP")] public enum ReflectionSource
{
NoReflection,
Cubemap,
ReflectionProbe
}
public struct UpgradeParams
{
public UpgradeSurfaceType surfaceType { get; set; }
public UpgradeBlendMode blendMode { get; set; }
public bool alphaClip { get; set; }
public SpecularSource specularSource { get; set; }
public SmoothnessSource smoothnessSource { get; set; }
}
}