resize() {
        // reset plane dimensions
        this._setDocumentSizes();

        // if this is a Plane object we need to update its perspective and positions
        if(this.type === "Plane") {
            // reset perspective
            this.setPerspective(this.camera.fov, this.camera.near, this.camera.far);

            // apply new position
            this._setWorldSizes();
            this._applyWorldPositions();
        }

        // resize all textures
        for(let i = 0; i < this.textures.length; i++) {
            this.textures[i].resize();
        }

        // handle our after resize event
        this.renderer.nextRender.add(() => this._onAfterResizeCallback && this._onAfterResizeCallback());
    }
Handles each plane resizing
     used internally when our container is resized
*