• Manual
  • Scripting API
  • Changelog
  • License
🏷️ Namespaces
  • Zigurous.DataStructures
🧱 Classes
  • ArrayExtensions
  • ComparableExtensions
  • DictionaryExtensions
  • DoubleAccumulator
  • FixedUpdateStrategy
  • FloatAccumulator
  • HashCode
  • HashSetExtensions
  • Identifier
  • IntAccumulator
  • LateUpdateStrategy
  • ListExtensions
  • Modules<T>
  • NormalUpdateStrategy
  • ObjectPool<T>
  • QuaternionAccumulator
  • SingletonBehavior<T>
  • SortedSetExtensions
  • StringExtensions
  • UpdateBehavior
  • UpdateStrategy
  • ValueAccumulator<T>
  • Vector2Accumulator
  • Vector2IntAccumulator
  • Vector3Accumulator
  • Vector3IntAccumulator
  • Vector4Accumulator
🗂️ Structs
  • Bitmask
  • Bool3
  • ClampedRange
  • ColorRange
  • EulerRange
  • FloatRange
  • GridSize
  • IntRange
  • Quantity<T>
  • Range<T>
  • Size
  • UIntRange
  • UnitIntervalRange
  • Vector2Range
  • Vector3Range
  • Vector4Range
🎚️ Interfaces
  • IModular<T>
  • INumberRange<T>
  • IObjectPool<T>
  • IRange<T>
📋 Enums
  • UpdateMode
🗣️ Delegates
  • ArrayExtensions.Reducer<TSum, TElement>
  • ListExtensions.Reducer<TSum, TItem>
  • ObjectPool<T>.Generator
  • UpdateStrategy.UpdateAction

Bitmask.Has

Method in Bitmask


Declaration

public bool Has(int n)

Description

Checks if the nth bit of the bitmask is set.

Parameters

nThe nth bit to check for.

Returns

boolTrue if the nth bit is set, false otherwise.