CountBits(int, int)
Returns the number of bits in a range that are 1.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public int CountBits(int pos, int numBits = 1)
Parameters
Returns
Type | Description |
|---|---|
| int | The number of bits in a range of bits that are 1. |