You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
506 B
16 lines
506 B
using UnityEngine.Rendering.PostProcessing;
|
|
|
|
namespace UnityEditor.Rendering.PostProcessing
|
|
{
|
|
[PostProcessEditor(typeof(LensDistortion))]
|
|
internal sealed class LensDistortionEditor : DefaultPostProcessEffectEditor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
if (EditorUtilities.isVREnabled)
|
|
EditorGUILayout.HelpBox("Lens Distortion is available only for non-stereo cameras.", MessageType.Warning);
|
|
|
|
base.OnInspectorGUI();
|
|
}
|
|
}
|
|
}
|