docs.unity3d.com
    Show / Hide Table of Contents

    Class VolumesPreferences

    Preferences for Volumes

    Inheritance
    Object
    VolumesPreferences
    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

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

    keywords

    The keywords

    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

    The current option for the visibility

    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

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023