MCPcopy Create free account
hub / github.com/esengine/esengine / setBit

Method setBit

packages/core/src/ECS/Utils/BigIntCompatibility.ts:187–198  ·  view source on GitHub ↗

* 设置掩码中指定位为1,必要时自动扩展 * @param mask 要修改的掩码(原地修改) * @param bitIndex 位索引,不小于零 * @throws 当位索引超出范围时抛出错误

(mask: BitMask64Data, bitIndex: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

setMethod · 0.45
createMethod · 0.45

Calls 1

getSegmentByBitIndexMethod · 0.80

Tested by

no test coverage detected