您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
36 行
1.7 KiB
36 行
1.7 KiB
using UnityEngine.Experimental.Rendering.HDPipeline;
|
|
|
|
namespace UnityEditor.Experimental.Rendering
|
|
{
|
|
class SerializedGlobalLightLoopSettings
|
|
{
|
|
public SerializedProperty root;
|
|
|
|
public SerializedProperty spotCookieSize;
|
|
public SerializedProperty cookieTexArraySize;
|
|
public SerializedProperty pointCookieSize;
|
|
public SerializedProperty cubeCookieTexArraySize;
|
|
public SerializedProperty reflectionProbeCacheSize;
|
|
public SerializedProperty reflectionCubemapSize;
|
|
public SerializedProperty reflectionCacheCompressed;
|
|
public SerializedProperty skyReflectionSize;
|
|
public SerializedProperty skyLightingOverrideLayerMask;
|
|
|
|
public SerializedGlobalLightLoopSettings(SerializedProperty root)
|
|
{
|
|
this.root = root;
|
|
|
|
spotCookieSize = root.Find((GlobalLightLoopSettings s) => s.spotCookieSize);
|
|
cookieTexArraySize = root.Find((GlobalLightLoopSettings s) => s.cookieTexArraySize);
|
|
pointCookieSize = root.Find((GlobalLightLoopSettings s) => s.pointCookieSize);
|
|
cubeCookieTexArraySize = root.Find((GlobalLightLoopSettings s) => s.cubeCookieTexArraySize);
|
|
|
|
reflectionProbeCacheSize = root.Find((GlobalLightLoopSettings s) => s.reflectionProbeCacheSize);
|
|
reflectionCubemapSize = root.Find((GlobalLightLoopSettings s) => s.reflectionCubemapSize);
|
|
reflectionCacheCompressed = root.Find((GlobalLightLoopSettings s) => s.reflectionCacheCompressed);
|
|
|
|
skyReflectionSize = root.Find((GlobalLightLoopSettings s) => s.skyReflectionSize);
|
|
skyLightingOverrideLayerMask = root.Find((GlobalLightLoopSettings s) => s.skyLightingOverrideLayerMask);
|
|
}
|
|
}
|
|
}
|