最終更新:2021-06-17 (木) 15:31:05 (44d)  

BABYLON.Texture
Top / BABYLON.Texture

This represents a texture in babylon. It can be easily loaded from a network, base64 or html input.

new Texture(url: Nullable<string>, sceneOrEngine: Nullable<Scene | ThinEngine>, noMipmapOrOptions?: boolean | ITextureCreationOptions, invertY?: boolean, samplingMode?: number, onLoad?: Nullable<() => void>, onError?: Nullable<(message?: string, exception?: any) => void>, buffer?: Nullable<string | ArrayBuffer | ArrayBufferView | HTMLImageElement | Blob | ImageBitmap>, deleteBuffer?: boolean, format?: number, mimeType?: string, loaderOptions?: any, creationFlags?: number): Texture

https://doc.babylonjs.com/typedoc/classes/babylon.texture

サブクラス

  • BABYLON.RawTexture3D?