Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 private void setupScriptEngine()
 {
     this._editorScripts = new ScriptEngine();
     this._editorScripts.BindType("editor", this);
 }