Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TestNone(int, int)

Returns true if none of the bits in a range are 1 ("i.e." all bits in the range are 0).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly bool TestNone(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

boolReturns true if none of the bits in range
pos
up to (but not including)
pos + numBits
are 1.