Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/extras/ImageUtils.d.ts>ImageUtils.loadTextureCube

A simple transformation of three.js for use within a Deno workflow
Go to Latest
function ImageUtils.loadTextureCube
Deprecated
Deprecated

Use CubeTextureLoader | THREE.CubeTextureLoader() instead.

import { ImageUtils } from "https://deno.land/x/threejs_4_deno@v121/src/extras/ImageUtils.d.ts";
const { loadTextureCube } = ImageUtils;

Parameters

array: string[]
optional
mapping: Mapping
optional
onLoad: (texture: Texture) => void
optional
onError: (message: string) => void