public SceneNode() { this.generateId(); this._children = new List<SceneNode>(); this._worldMatrix = Matrix4.Identity; this._realMatrix = Matrix4.Identity; this._scripts = new ScriptEngine(); this._scripts.BindType("node", this); this._scripts.IncludeAssembly(typeof(OpenTK.GameWindow).Assembly); this.initialize(); this._isInitialized = true; }
private void setupScriptEngine() { this._editorScripts = new ScriptEngine(); this._editorScripts.BindType("editor", this); }