Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ toArray
Method
toArray
packages/core/src/ECS/Utils/SparseSet.ts:252–254 ·
view source on GitHub ↗
* 转换为数组
()
Source
from the content-addressed store, hash-verified
250
* 转换为数组
251
*/
252
public toArray(): T[] {
253
return
[...this._dense];
254
}
255
256
/**
257
* 转换为Set
Callers
3
getAllEntities
Method · 0.45
SparseSet.test.ts
File · 0.45
CompiledQuery.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected