Explorar o código

Using Partial type in createRenderTargetCubeTexture function

NicolasBuecher %!s(int64=7) %!d(string=hai) anos
pai
achega
64a6485426
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Engine/babylon.engine.ts

+ 1 - 1
src/Engine/babylon.engine.ts

@@ -3987,7 +3987,7 @@
             this._gl.compressedTexImage2D(target, lod, internalFormat, width, height, 0, data);
         }
 
-        public createRenderTargetCubeTexture(size: number, options?: RenderTargetCreationOptions): InternalTexture {
+        public createRenderTargetCubeTexture(size: number, options?: Partial<RenderTargetCreationOptions>): InternalTexture {
             let fullOptions = new RenderTargetCreationOptions();
 
             if (options !== undefined && typeof options === "object") {