docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SerializedBitArrayAny

    Base class for SerializedBitArrays

    Inheritance
    object
    SerializedBitArrayAny
    Implements
    ISerializedBitArray
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public sealed class SerializedBitArrayAny : ISerializedBitArray

    Properties

    capacity

    Capacity of the bitarray

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

    Methods

    ApplyModifiedProperties()

    Apply the reflected value onto targets

    Declaration
    public void ApplyModifiedProperties()

    GetBitAt(uint)

    Get the bit at given index

    Declaration
    public 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
    public bool HasBitMultipleDifferentValue(uint bitIndex)
    Parameters
    Type Name Description
    uint bitIndex

    The index

    Returns
    Type Description
    bool

    True: Multiple different value for the given bit index

    SetBitAt(uint, bool)

    Set the bit at given index

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

    The index

    bool value

    The value

    Update()

    Sync the reflected value with target value change

    Declaration
    public void Update()

    Implements

    ISerializedBitArray

    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)