기술 자료

Unity Engine

Unity Engine

TestAll(int, int)

Returns true if all of the bits in a contiguous range are 1.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters

pos

Position in the bit field (must be 0-31).

numBits

Number of bits to test (must be 1-32).

Returns

Type

Description

boolTrue if all bits in the contiguous range are 1.