ドキュメント

Unity Engine

Unity Engine

TestAll(int, int)

Returns true if all of the bits in a range are 1.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly bool TestAll(int pos, int numBits = 1)

Parameters

pos

Index of the bit at which to start searching.

numBits

Number of bits to test. Defaults to 1.

Returns

Type

Description

boolTrue if all of the bits in range
pos
up to (but not including)
pos + numBits
are 1.