docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISerializedBitArray

    interface to handle generic SerializedBitArray

    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public interface ISerializedBitArray

    Properties

    capacity

    Capacity of the bitarray

    Declaration
    uint capacity { get; }
    Property Value
    Type Description
    uint

    Methods

    GetBitAt(uint)

    Get the bit at given index

    Declaration
    bool GetBitAt(uint bitIndex)
    Parameters
    Type Name Description
    uint bitIndex

    The index

    Returns
    Type Description
    bool

    Bit value

    HasBitMultipleDifferentValue(uint)

    Does the bit at given index have multiple different values?

    Declaration
    bool HasBitMultipleDifferentValue(uint bitIndex)
    Parameters
    Type Name Description
    uint bitIndex

    The index

    Returns
    Type Description
    bool

    True: Multiple different value

    SetBitAt(uint, bool)

    Set the bit at given index

    Declaration
    void SetBitAt(uint bitIndex, bool value)
    Parameters
    Type Name Description
    uint bitIndex

    The index

    bool value

    The value

    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)