• 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.Change

Method in Bitmask


Declaration

public void Change(int n, int x)

Description

Sets the nth bit of the bitmask to x.

Parameters

nThe nth bit to set.
xThe value to set the bit to.