浏览代码

Hide PlanarReflexionProbe Influence box's offset

/main
RSlysz 6 年前
当前提交
59e133f3
共有 1 个文件被更改,包括 3 次插入12 次删除
  1. 15
      com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/InfluenceVolumeUI.Drawers.cs

15
com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/InfluenceVolumeUI.Drawers.cs


static void Drawer_FieldShapeType(InfluenceVolumeUI s, SerializedInfluenceVolume d, Editor o)
{
//EditorGUI.showMixedValue = d.;
//EditorGUI.showMixedValue = false;
//if(s.shapeMissmatch)
//{
// EditorGUILayout.HelpBox(
// "Proxy volume and influence volume have different shape types, this is not supported.",
// MessageType.Error,
// true
// );
//}
}
static void Drawer_InfluenceAdvancedSwitch(InfluenceVolumeUI s, SerializedInfluenceVolume d, Editor owner)

var minFadeDistance = Vector3.zero;
EditorGUILayout.PropertyField(d.boxBaseSize, _.GetContent("Box Size"));
EditorGUILayout.PropertyField(d.boxBaseOffset, _.GetContent("Box Offset"));
//offset have no meaning for planar reflexion probe
//EditorGUILayout.PropertyField(d.boxBaseOffset, _.GetContent("Box Offset"));
EditorGUILayout.Space();

正在加载...
取消
保存