Class SerializedBitArrayAny
Base class for SerializedBitArrays
Inheritance
System.Object
SerializedBitArrayAny
Namespace: UnityEditor.Rendering
Syntax
public sealed class SerializedBitArrayAny : ISerializedBitArray
Properties
capacity
Capacity of the bitarray
Declaration
public uint capacity { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Implements
Methods
ApplyModifiedProperties()
Apply the reflected value onto targets
Declaration
public void ApplyModifiedProperties()
GetBitAt(UInt32)
Get the bit at given index
Declaration
public bool GetBitAt(uint bitIndex)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | bitIndex | The index |
Returns
Type | Description |
---|---|
System.Boolean | Bit value |
Implements
HasBitMultipleDifferentValue(UInt32)
Does the bit at given index have multiple different values
Declaration
public bool HasBitMultipleDifferentValue(uint bitIndex)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | bitIndex | The index |
Returns
Type | Description |
---|---|
System.Boolean | True: Multiple different value for the given bit index |
Implements
SetBitAt(UInt32, Boolean)
Set the bit at given index
Declaration
public void SetBitAt(uint bitIndex, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | bitIndex | The index |
System.Boolean | value | The value |
Implements
Update()
Sync the reflected value with target value change
Declaration
public void Update()