您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
25 行
566 B
25 行
566 B
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
[DisallowMultipleComponent]
|
|
public class HDRISkySettings : SkySettings
|
|
{
|
|
public Cubemap skyHDRI;
|
|
|
|
public override SkyRenderer GetRenderer()
|
|
{
|
|
return new HDRISkyRenderer(this);
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
int hash = base.GetHashCode();
|
|
|
|
unchecked
|
|
{
|
|
hash = skyHDRI != null ? hash * 23 + skyHDRI.GetHashCode() : hash;
|
|
}
|
|
|
|
return hash;
|
|
}
|
|
}
|
|
}
|