docs.unity.cn
    Show / Hide Table of Contents

    Class VolumesPreferences

    Preferences for Volumes

    Inheritance
    Object
    VolumesPreferences
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public class VolumesPreferences : ICoreRenderPipelinePreferencesProvider

    Properties

    drawSolid

    Returns if the Volume Gizmos should render the solid faces

    Declaration
    public static bool drawSolid { get; }
    Property Value
    Type Description
    Boolean

    drawWireFrame

    Returns if the Volume Gizmos should render the wireframe edges

    Declaration
    public static bool drawWireFrame { get; }
    Property Value
    Type Description
    Boolean

    header

    The header of the panel

    Declaration
    public GUIContent header { get; }
    Property Value
    Type Description
    GUIContent
    Implements
    ICoreRenderPipelinePreferencesProvider.header

    keywords

    The list of keywords for user search

    Declaration
    public List<string> keywords { get; }
    Property Value
    Type Description
    List<String>
    Implements
    ICoreRenderPipelinePreferencesProvider.keywords

    volumeGizmoColor

    Returns the user defined color for rendering volume gizmos

    Declaration
    public static Color volumeGizmoColor { get; }
    Property Value
    Type Description
    Color

    volumeGizmosVisibilityOption

    Returns the current VolumesPreferences.VolumeGizmoVisibility

    Declaration
    public static VolumesPreferences.VolumeGizmoVisibility volumeGizmosVisibilityOption { get; set; }
    Property Value
    Type Description
    VolumesPreferences.VolumeGizmoVisibility

    Methods

    PreferenceGUI()

    Renders the Preferences UI for this provider

    Declaration
    public void PreferenceGUI()
    Implements
    ICoreRenderPipelinePreferencesProvider.PreferenceGUI()

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023