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

Method setProp

packages/fairygui/src/widgets/GGraph.ts:270–276  ·  view source on GitHub ↗
(index: number, value: any)

Source from the content-addressed store, hash-verified

268 }
269
270 public setProp(index: number, value: any): void {
271 if (index === EObjectPropID.Color) {
272 this.color = value;
273 } else {
274 super.setProp(index, value);
275 }
276 }
277
278 protected handleSizeChanged(): void {
279 super.handleSizeChanged();

Callers 2

updateMethod · 0.45
setupItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected