docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BoolParameter

    A VolumeParameter that holds a bool value.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<bool>
    BoolParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<bool>>
    Inherited Members
    VolumeParameter<bool>.m_Value
    VolumeParameter<bool>.value
    VolumeParameter<bool>.Interp(bool, bool, float)
    VolumeParameter<bool>.Override(bool)
    VolumeParameter<bool>.SetValue(VolumeParameter)
    VolumeParameter<bool>.GetHashCode()
    VolumeParameter<bool>.ToString()
    VolumeParameter<bool>.Equals(VolumeParameter<bool>)
    VolumeParameter<bool>.Equals(object)
    VolumeParameter<bool>.Clone()
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    public class BoolParameter : VolumeParameter<bool>, ICloneable, IEquatable<VolumeParameter<bool>>

    Constructors

    BoolParameter(bool, bool)

    Creates a new BoolParameter instance.

    Declaration
    public BoolParameter(bool value, bool overrideState = false)
    Parameters
    Type Name Description
    bool value

    The initial value to store in the parameter

    bool overrideState

    The initial override state for the parameter

    BoolParameter(bool, DisplayType, bool)

    Creates a new BoolParameter instance.

    Declaration
    public BoolParameter(bool value, BoolParameter.DisplayType displayType, bool overrideState = false)
    Parameters
    Type Name Description
    bool value

    The initial value to store in the parameter

    BoolParameter.DisplayType displayType

    The display type to use for the parameter

    bool overrideState

    The initial override state for the parameter

    Fields

    displayType

    Type of widget used to display the BoolParameter in the UI.

    Declaration
    [NonSerialized]
    public BoolParameter.DisplayType displayType
    Field Value
    Type Description
    BoolParameter.DisplayType

    Implements

    ICloneable
    IEquatable<T>

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)