From 2d3eb914e52b6a938356482a623f2e5ba29deff7 Mon Sep 17 00:00:00 2001 From: neukym Date: Fri, 13 Oct 2017 23:08:35 +0100 Subject: [PATCH] [@types/three] Adds morphTargetInfluences and morphTargetDictionary to mesh on three-core.d.ts (#20490) * Adds morphTargetInfluences and morphTargetDictionary to mesh class * Replaces morphTargetDictionary object type in three-core.d.ts --- types/three/three-core.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index ea63110057..d2a09b808e 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -4837,6 +4837,8 @@ export class Mesh extends Object3D { geometry: Geometry|BufferGeometry; material: Material | Material[]; drawMode: TrianglesDrawModes; + morphTargetInfluences?: number[]; + morphTargetDictionary?: { [key: string]: number; }; setDrawMode(drawMode: TrianglesDrawModes): void; updateMorphTargets(): void;