Is there a way to add a child to ScreenSpaceCanvas2D after its already been constructed?
I tried this for instance but it doesn't seem to be the direction:
var text = new BABYLON.Text2D("Test", {
id: "text",
marginAlignment: "h: center, v:center",
fontName: "20pt Arial",
});
ui.children.push(text);
text.parent = ui; //TypeError: setting a property that has only a getter