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

Method clear

packages/editor-core/src/tokens.ts:132–132  ·  view source on GitHub ↗

清空实体 | Clear all entities

()

Source from the content-addressed store, hash-verified

130 getEntity(id: number): unknown | undefined;
131 /** 清空实体 | Clear all entities */
132 clear(): void;
133 /** 构建实体树 | Build entity tree */
134 buildEntityTree(): EntityTreeNode[];
135}

Callers 15

resetMethod · 0.65
endFrameMethod · 0.65
resetMethod · 0.65
onBeginMethod · 0.65
processMethod · 0.65
collectSpritesMethod · 0.65
clearMethod · 0.65
clearMethod · 0.65
clearMethod · 0.65
OutputLogPanelFunction · 0.65
StatusBarFunction · 0.65
disposeMethod · 0.65

Calls

no outgoing calls

Tested by 1

test_clearFunction · 0.52