From 301188b6bfb1f11461f65389de56e35025d1ede4 Mon Sep 17 00:00:00 2001 From: rmoudy Date: Fri, 21 Feb 2014 08:22:18 -0600 Subject: [PATCH] Update three.d.ts Added missing .userData property to Object3D --- threejs/three.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/threejs/three.d.ts b/threejs/three.d.ts index e2e923f87f..2767570333 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -1856,6 +1856,12 @@ declare module THREE { static defaultEulerOrder: string; // static defaultEulerOrder:EulerOrder; + + /** + * An object that can be used to store custom data about the Object3d. + * It should not hold references to functions as these will not be cloned. + */ + userData: any; } var Object3DIdCount: number;