Struct EditorPrefBoolFlags<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct EditorPrefBoolFlags<T>

    Namespace: UnityEditor.Rendering
    Syntax
    public struct EditorPrefBoolFlags<T> : IEquatable<T>, IEquatable<EditorPrefBoolFlags<T>> where T : struct, IConvertible
    Type Parameters
    Name Description
    T

    Constructors

    EditorPrefBoolFlags(String)

    Declaration
    public EditorPrefBoolFlags(string key)
    Parameters
    Type Name Description
    System.String key

    Properties

    rawValue

    Declaration
    public uint rawValue { get; set; }
    Property Value
    Type Description
    System.UInt32

    value

    Declaration
    public T value { get; set; }
    Property Value
    Type Description
    T

    Methods

    Equals(T)

    Declaration
    public bool Equals(T other)
    Parameters
    Type Name Description
    T other
    Returns
    Type Description
    System.Boolean

    Equals(EditorPrefBoolFlags<T>)

    Declaration
    public bool Equals(EditorPrefBoolFlags<T> other)
    Parameters
    Type Name Description
    EditorPrefBoolFlags<T> other
    Returns
    Type Description
    System.Boolean

    HasFlag(T)

    Declaration
    public bool HasFlag(T v)
    Parameters
    Type Name Description
    T v
    Returns
    Type Description
    System.Boolean

    SetFlag(T, Boolean)

    Declaration
    public bool SetFlag(T f, bool v)
    Parameters
    Type Name Description
    T f
    System.Boolean v
    Returns
    Type Description
    System.Boolean

    Operators

    BitwiseAnd(EditorPrefBoolFlags<T>, T)

    Declaration
    public static EditorPrefBoolFlags<T> operator &(EditorPrefBoolFlags<T> l, T r)
    Parameters
    Type Name Description
    EditorPrefBoolFlags<T> l
    T r
    Returns
    Type Description
    EditorPrefBoolFlags<T>

    BitwiseOr(EditorPrefBoolFlags<T>, T)

    Declaration
    public static EditorPrefBoolFlags<T> operator |(EditorPrefBoolFlags<T> l, T r)
    Parameters
    Type Name Description
    EditorPrefBoolFlags<T> l
    T r
    Returns
    Type Description
    EditorPrefBoolFlags<T>

    ExclusiveOr(EditorPrefBoolFlags<T>, T)

    Declaration
    public static EditorPrefBoolFlags<T> operator ^(EditorPrefBoolFlags<T> l, T r)
    Parameters
    Type Name Description
    EditorPrefBoolFlags<T> l
    T r
    Returns
    Type Description
    EditorPrefBoolFlags<T>

    Explicit(EditorPrefBoolFlags<T> to T)

    Declaration
    public static explicit operator T(EditorPrefBoolFlags<T> v)
    Parameters
    Type Name Description
    EditorPrefBoolFlags<T> v
    Returns
    Type Description
    T
    Back to top
    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