Find
Finds the first length-"N" contiguous sequence of 0 bits in this bit array.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Find(int, int)
Finds the first length-"N" contiguous sequence of 0 bits in this bit array.
public readonly int Find(int pos, int numBits)
Parameters
Returns
Type | Description |
|---|---|
| int | The index in this array where the sequence is found. The index will be greater than or equal to |
Find(int, int, int)
Finds the first length-"N" contiguous sequence of 0 bits in this bit array. Searches only a subsection.
public readonly int Find(int pos, int count, int numBits)
Parameters
Returns
Type | Description |
|---|---|
| int | The index in this array where the sequence is found. The index will be greater than or equal to |