docs.unity.cn
    Show / Hide Table of Contents

    Class CustomPostProcessVolumeComponentEditor

    Base class to inherit to create custom post process volume editors.

    Inheritance
    Object
    VolumeComponentEditor
    CustomPostProcessVolumeComponentEditor
    Inherited Members
    VolumeComponentEditor.m_Inspector
    VolumeComponentEditor.BeginAdditionalPropertiesScope()
    VolumeComponentEditor.EndAdditionalPropertiesScope()
    VolumeComponentEditor.Repaint()
    VolumeComponentEditor.OnEnable()
    VolumeComponentEditor.OnDisable()
    VolumeComponentEditor.GetDisplayTitle()
    VolumeComponentEditor.Unpack(SerializedProperty)
    VolumeComponentEditor.PropertyField(SerializedDataParameter)
    VolumeComponentEditor.DrawHeader(String)
    VolumeComponentEditor.PropertyField(SerializedDataParameter, GUIContent)
    VolumeComponentEditor.DrawOverrideCheckbox(SerializedDataParameter)
    VolumeComponentEditor.expanded
    VolumeComponentEditor.volumeComponent
    VolumeComponentEditor.baseProperty
    VolumeComponentEditor.activeProperty
    VolumeComponentEditor.hasAdditionalProperties
    VolumeComponentEditor.showAdditionalProperties
    VolumeComponentEditor.volume
    VolumeComponentEditor.enableOverrides
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    [CanEditMultipleObjects]
    [CustomEditor(typeof(CustomPostProcessVolumeComponent), true)]
    public class CustomPostProcessVolumeComponentEditor : VolumeComponentEditor

    Methods

    OnInspectorGUI()

    Unity calls this method each time it re-draws the Inspector.

    Declaration
    public override void OnInspectorGUI()
    Overrides
    VolumeComponentEditor.OnInspectorGUI()
    Remarks

    You can safely override this method and not call base.OnInspectorGUI() unless you want Unity to display all the properties from the VolumeComponent automatically.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023