A game about forced loneliness, made by TACStudios
at master 63 lines 3.0 kB view raw
1using UnityEngine; 2 3namespace UnityEditor.Rendering 4{ 5 public static partial class CameraUI 6 { 7 /// <summary> 8 /// Styles 9 /// </summary> 10 public static class Styles 11 { 12 /// <summary> 13 /// Projection section header 14 /// </summary> 15 public static GUIContent projectionSettingsHeaderContent { get; } = EditorGUIUtility.TrTextContent("Projection"); 16 17 /// <summary> 18 /// Clipping planes content 19 /// </summary> 20 public static GUIContent clippingPlaneMultiFieldTitle = EditorGUIUtility.TrTextContent("Clipping Planes"); 21 22 /// <summary> 23 /// Projection Content 24 /// </summary> 25 public static readonly GUIContent projectionContent = EditorGUIUtility.TrTextContent("Projection", "How the Camera renders perspective.\n\nChoose Perspective to render objects with perspective.\n\nChoose Orthographic to render objects uniformly, with no sense of perspective."); 26 27 /// <summary> 28 /// Size content 29 /// </summary> 30 public static readonly GUIContent sizeContent = EditorGUIUtility.TrTextContent("Size"); 31 32 /// <summary> 33 /// FOV content 34 /// </summary> 35 public static readonly GUIContent fieldOfViewContent = EditorGUIUtility.TrTextContent("Field of View", "The height of the Camera's view angle, measured in degrees along the specified axis."); 36 37 /// <summary> 38 /// FOV Axis content 39 /// </summary> 40 public static readonly GUIContent FOVAxisModeContent = EditorGUIUtility.TrTextContent("Field of View Axis", "The axis the Camera's view angle is measured along."); 41 42 /// <summary> 43 /// Physical camera content 44 /// </summary> 45 public static readonly GUIContent physicalCameraContent = EditorGUIUtility.TrTextContent("Physical Camera", "Enables Physical camera mode for FOV calculation. When checked, the field of view is calculated from properties for simulating physical attributes (focal length, sensor size, and lens shift)."); 46 47 /// <summary> 48 /// Near plane content 49 /// </summary> 50 public static readonly GUIContent nearPlaneContent = EditorGUIUtility.TrTextContent("Near", "The closest point relative to the camera that drawing occurs."); 51 52 /// <summary> 53 /// Far plane content 54 /// </summary> 55 public static readonly GUIContent farPlaneContent = EditorGUIUtility.TrTextContent("Far", "The furthest point relative to the camera that drawing occurs."); 56 57 /// <summary> 58 /// Message displayed about unsupported fields for Camera Presets 59 /// </summary> 60 public static readonly string unsupportedPresetPropertiesMessage = L10n.Tr("When using Preset of Camera Component, only a subset of properties are supported. Unsupported properties are hidden."); 61 } 62 } 63}