您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
30 行
1.2 KiB
30 行
1.2 KiB
using UnityEngine.Experimental.Rendering.HDPipeline;
|
|
|
|
namespace UnityEditor.Experimental.Rendering.HDPipeline
|
|
{
|
|
public class SerializedProxyVolume
|
|
{
|
|
public SerializedProperty root;
|
|
|
|
public SerializedProperty shapeType;
|
|
public SerializedProperty boxSize;
|
|
public SerializedProperty boxOffset;
|
|
public SerializedProperty boxInfiniteProjection;
|
|
public SerializedProperty sphereRadius;
|
|
public SerializedProperty sphereOffset;
|
|
public SerializedProperty sphereInfiniteProjection;
|
|
|
|
public SerializedProxyVolume(SerializedProperty root)
|
|
{
|
|
this.root = root;
|
|
|
|
shapeType = root.Find((ProxyVolume p) => p.shapeType);
|
|
boxSize = root.Find((ProxyVolume p) => p.boxSize);
|
|
boxOffset = root.Find((ProxyVolume p) => p.boxOffset);
|
|
boxInfiniteProjection = root.Find((ProxyVolume p) => p.boxInfiniteProjection);
|
|
sphereRadius = root.Find((ProxyVolume p) => p.sphereRadius);
|
|
sphereOffset = root.Find((ProxyVolume p) => p.sphereOffset);
|
|
sphereInfiniteProjection = root.Find((ProxyVolume p) => p.sphereInfiniteProjection);
|
|
}
|
|
}
|
|
}
|