Version: 2018.1 (switch to 2018.2b or 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Settings

class in UnityEditor

/

Implemented in:UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Contains all drawable elements of the CameraEditor.

Use this class to access the renderable settings for the CameraEditor. This can be used as a helper to draw a custom CameraEditor.

Properties

allowDynamicResolutionExposed SerializedProperty for the inspected Camera.
allowMSAAExposed SerializedProperty for the inspected Camera.
backgroundColorExposed SerializedProperty for the inspected Camera.
clearFlagsExposed SerializedProperty for the inspected Camera.
cullingMaskExposed SerializedProperty for the inspected Camera.
depthExposed SerializedProperty for the inspected Camera.
farClippingPlaneExposed SerializedProperty for the inspected Camera.
fieldOfViewExposed SerializedProperty for the inspected Camera.
HDRExposed SerializedProperty for the inspected Camera.
nearClippingPlaneExposed SerializedProperty for the inspected Camera.
normalizedViewPortRectExposed SerializedProperty for the inspected Camera.
occlusionCullingExposed SerializedProperty for the inspected Camera.
orthographicExposed SerializedProperty for the inspected Camera.
orthographicSizeExposed SerializedProperty for the inspected Camera.
renderingPathExposed SerializedProperty for the inspected Camera.
stereoConvergenceExposed SerializedProperty for the inspected Camera.
stereoSeparationExposed SerializedProperty for the inspected Camera.
targetDisplayExposed SerializedProperty for the inspected Camera.
targetEyeExposed SerializedProperty for the inspected Camera.
targetTextureExposed SerializedProperty for the inspected Camera.

Public Methods

ApplyModifiedPropertiesSee SerializedObject.ApplyModifiedProperties.
DrawBackgroundColorDraws the default [[CameraEditor] background color widget.
DrawClearFlagsDraws the default [[CameraEditor] clear flags widget.
DrawClippingPlanesDraws the default [[CameraEditor] clipping planes widget.
DrawCullingMaskDraws the default [[CameraEditor] culling mask widget.
DrawDepthDraws the default [[CameraEditor] depth widget.
DrawDynamicResolutionDraws the default [[CameraEditor] dynamic resolution widget.
DrawHDRDraws the default [[CameraEditor] HDR widget.
DrawMSAADraws the default [[CameraEditor] MSAA widget.
DrawMultiDisplayDraws the default [[CameraEditor] muliple display widget.
DrawNormalizedViewPortDraws the default [[CameraEditor] viewport widget.
DrawOcclusionCullingDraws the default [[CameraEditor] occlusion culling widget.
DrawProjectionDraws the default [[CameraEditor] projection widget.
DrawRenderingPathDraws the default [[CameraEditor] rendering path widget.
DrawTargetEyeDraws the default [[CameraEditor] target eye widget.
DrawTargetTextureDraws the default [[CameraEditor] target texture widget.
DrawVRDraws the default [[CameraEditor] VR widget.
OnEnablePopulate the settings object with data linked to the Camera SerializedObject.
UpdateSee SerializedObject.Update.

Did you find this page useful? Please give it a rating: