Class DefaultVolumeProfileEditor
Editor for the Default Volume Profile
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public sealed class DefaultVolumeProfileEditor
Constructors
DefaultVolumeProfileEditor(Editor, VolumeProfile)
Constructor
Declaration
[Obsolete("Use DefaultVolumeProfileEditor(VolumeProfile, SerializedObject) instead. #from(23.3)")]
public DefaultVolumeProfileEditor(Editor baseEditor, VolumeProfile profile)
Parameters
Type | Name | Description |
---|---|---|
Editor | baseEditor | Editor that displays the content of this class |
VolumeProfile | profile | VolumeProfile to display |
DefaultVolumeProfileEditor(VolumeProfile, SerializedObject)
Constructor
Declaration
public DefaultVolumeProfileEditor(VolumeProfile profile, SerializedObject targetSerializedObject)
Parameters
Type | Name | Description |
---|---|---|
VolumeProfile | profile | VolumeProfile to display |
SerializedObject | targetSerializedObject | Target serialized object to update when the default volume profile changes |
Properties
allEditors
List of all VolumeComponentEditors
Declaration
public List<VolumeComponentEditor> allEditors { get; }
Property Value
Type | Description |
---|---|
List<VolumeComponentEditor> |
Methods
Create()
Create the visual hierarchy
Declaration
public VisualElement Create()
Returns
Type | Description |
---|---|
VisualElement | Root element of the visual hierarchy |
Destroy()
Destroy all Editors owned by this class
Declaration
public void Destroy()
RebuildListViews()
Rebuild all ListViews to force them to update their expanded state.
Declaration
public void RebuildListViews()