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.
40 lines
2.1 KiB
40 lines
2.1 KiB
namespace UnityEditor.Rendering
|
|
{
|
|
public static partial class CameraUI
|
|
{
|
|
public static partial class Rendering
|
|
{
|
|
/// <summary>Draws Stop NaNs related fields on the inspector</summary>
|
|
/// <param name="p"><see cref="ISerializedCamera"/> The serialized camera</param>
|
|
/// <param name="owner"><see cref="Editor"/> The editor owner calling this drawer</param>
|
|
public static void Drawer_Rendering_StopNaNs(ISerializedCamera p, Editor owner)
|
|
{
|
|
EditorGUILayout.PropertyField(p.stopNaNs, Styles.stopNaNs);
|
|
}
|
|
|
|
/// <summary>Draws Dithering related fields on the inspector</summary>
|
|
/// <param name="p"><see cref="ISerializedCamera"/> The serialized camera</param>
|
|
/// <param name="owner"><see cref="Editor"/> The editor owner calling this drawer</param>
|
|
public static void Drawer_Rendering_Dithering(ISerializedCamera p, Editor owner)
|
|
{
|
|
EditorGUILayout.PropertyField(p.dithering, Styles.dithering);
|
|
}
|
|
|
|
/// <summary>Draws Culling mask related fields on the inspector</summary>
|
|
/// <param name="p"><see cref="ISerializedCamera"/> The serialized camera</param>
|
|
/// <param name="owner"><see cref="Editor"/> The editor owner calling this drawer</param>
|
|
public static void Drawer_Rendering_CullingMask(ISerializedCamera p, Editor owner)
|
|
{
|
|
EditorGUILayout.PropertyField(p.baseCameraSettings.cullingMask, Styles.cullingMask);
|
|
}
|
|
|
|
/// <summary>Draws occlusion Culling related fields on the inspector</summary>
|
|
/// <param name="p"><see cref="ISerializedCamera"/> The serialized camera</param>
|
|
/// <param name="owner"><see cref="Editor"/> The editor owner calling this drawer</param>
|
|
public static void Drawer_Rendering_OcclusionCulling(ISerializedCamera p, Editor owner)
|
|
{
|
|
EditorGUILayout.PropertyField(p.baseCameraSettings.occlusionCulling, Styles.occlusionCulling);
|
|
}
|
|
}
|
|
}
|
|
}
|