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

Method createDisplayObject

packages/fairygui/src/widgets/GLoader.ts:59–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 protected createDisplayObject(): void {
60 this._displayObject = new Container();
61 this._displayObject.gOwner = this;
62 this._displayObject.touchable = true;
63
64 this._content = new MovieClip();
65 this._displayObject.addChild(this._content);
66 }
67
68 public dispose(): void {
69 if (!this._contentItem && this._content?.texture) {

Callers

nothing calls this directly

Calls 1

addChildMethod · 0.45

Tested by

no test coverage detected