Skip to content

Commit

Permalink
fix(GLTFLoader): update GLTFParser.assignTexture(). (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanLi-CN authored Jun 25, 2024
1 parent 67e51b3 commit 6b52d07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/three/examples/jsm/loaders/GLTFLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
BufferAttribute,
BufferGeometry,
Camera,
ColorSpace,
FileLoader,
Group,
ImageBitmapLoader,
Expand Down Expand Up @@ -112,7 +113,8 @@ export class GLTFParser {
texCoord?: number | undefined;
extensions?: any;
},
) => Promise<void>;
colorSpace?: ColorSpace | undefined,
) => Promise<Texture | null>;
assignFinalMaterial: (object: Mesh) => void;
getMaterialType: () => typeof MeshStandardMaterial;
loadMaterial: (materialIndex: number) => Promise<Material>;
Expand Down

0 comments on commit 6b52d07

Please sign in to comment.