Class SerializedBitArrayAny
Base class for SerializedBitArrays
Implements
Inherited Members
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()