2
0
Эх сурвалжийг харах

Merge pull request #18475 from elalish/TSfixes

A few TS fixes
Mr.doob 5 жил өмнө
parent
commit
d28bd8f22c

+ 1 - 1
examples/jsm/misc/MorphAnimMesh.d.ts

@@ -1,5 +1,5 @@
-import { AnimationAction } from '../../../src/animation/AnimationAction';
 import {
+	AnimationAction,
 	AnimationMixer,
 	BufferGeometry,
 	Geometry,

+ 1 - 0
src/Three.d.ts

@@ -86,6 +86,7 @@ export * from './animation/AnimationUtils';
 export * from './animation/AnimationObjectGroup';
 export * from './animation/AnimationMixer';
 export * from './animation/AnimationClip';
+export * from './animation/AnimationAction';
 export * from './core/Uniform';
 export * from './core/InstancedBufferGeometry';
 export * from './core/BufferGeometry';

+ 6 - 0
src/materials/Material.d.ts

@@ -257,6 +257,12 @@ export class Material extends EventDispatcher {
 	 */
 	side: Side;
 
+	/**
+	 * Defines which of the face sides will cast shadows. Default is *null*.
+	 * If *null*, the value is opposite that of side, above.
+	 */
+	shadowSide: Side;
+
 	/**
 	 * Defines whether this material is tone mapped according to the renderer's toneMapping setting.
 	 * Default is true.