docs.unity3d.com
    Show / Hide Table of Contents

    Class SerializedBitArray8

    SerializedBitArray spetialized for 8bit capacity

    Inheritance
    Object
    SerializedBitArray
    SerializedBitArray8
    Inherited Members
    SerializedBitArray.SetBitAtIndexForAllTargetsImmediate
    SerializedBitArray.HasMultipleDifferentValuesBitwise
    SerializedBitArray.m_SerializedProperty
    SerializedBitArray.capacity
    SerializedBitArray.GetOrInitializeSerializedProperties()
    SerializedBitArray.HasBitMultipleDifferentValue(UInt32)
    SerializedBitArray.HasBitMultipleDifferentValue_For64Bits(String, SerializedProperty, UInt32)
    SerializedBitArray.GetBitAt(UInt32)
    SerializedBitArray.SetBitAt(UInt32, Boolean)
    SerializedBitArray.ResyncSerialization()
    SerializedBitArray.Update()
    Namespace: UnityEditor.Rendering
    Syntax
    public sealed class SerializedBitArray8 : SerializedBitArray, ISerializedBitArray

    Constructors

    SerializedBitArray8(SerializedProperty)

    Constructor

    Declaration
    public SerializedBitArray8(SerializedProperty serializedProperty)
    Parameters
    Type Name Description
    SerializedProperty serializedProperty

    The SerializedProperty

    Methods

    GetBitAt_Internal(UInt32)

    Get the value at index

    Declaration
    protected override bool GetBitAt_Internal(uint bitIndex)
    Parameters
    Type Name Description
    UInt32 bitIndex

    The index

    Returns
    Type Description
    Boolean

    Value at the index

    Overrides
    SerializedBitArray.GetBitAt_Internal(UInt32)

    HasBitMultipleDifferentValue_Internal(UInt32)

    Say if the properties have differente values

    Declaration
    protected override bool HasBitMultipleDifferentValue_Internal(uint bitIndex)
    Parameters
    Type Name Description
    UInt32 bitIndex

    The index

    Returns
    Type Description
    Boolean

    True: properties have different value

    Overrides
    SerializedBitArray.HasBitMultipleDifferentValue_Internal(UInt32)

    SetBitAt_Internal(UInt32, Boolean)

    Set the bit at given index

    Declaration
    protected override void SetBitAt_Internal(uint bitIndex, bool value)
    Parameters
    Type Name Description
    UInt32 bitIndex

    The index

    Boolean value

    The value

    Overrides
    SerializedBitArray.SetBitAt_Internal(UInt32, Boolean)

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    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