mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
Merge pull request #23481 from spite/patch-1
Fixed types for Mesh: Material is no longer an array of Materials
This commit is contained in:
Vendored
+2
-2
@@ -4851,10 +4851,10 @@ export class LineSegments extends Line {
|
||||
}
|
||||
|
||||
export class Mesh extends Object3D {
|
||||
constructor(geometry?: Geometry | BufferGeometry, material?: Material | Material []);
|
||||
constructor(geometry?: Geometry | BufferGeometry, material?: Material);
|
||||
|
||||
geometry: Geometry|BufferGeometry;
|
||||
material: Material | Material[];
|
||||
material: Material;
|
||||
drawMode: TrianglesDrawModes;
|
||||
morphTargetInfluences?: number[];
|
||||
morphTargetDictionary?: { [key: string]: number; };
|
||||
|
||||
Reference in New Issue
Block a user