docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use