Bläddra i källkod

Added map definition #18228

kazuki 5 år sedan
förälder
incheckning
96b13e52a6
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      src/materials/MeshDepthMaterial.d.ts
  2. 1 0
      src/materials/MeshDistanceMaterial.d.ts

+ 1 - 0
src/materials/MeshDepthMaterial.d.ts

@@ -3,6 +3,7 @@ import { MaterialParameters, Material } from './Material';
 import { Texture } from './../textures/Texture';
 
 export interface MeshDepthMaterialParameters extends MaterialParameters {
+	map?: Texture | null;
 	alphaMap?: Texture | null;
 	depthPacking?: DepthPackingStrategies;
 	displacementMap?: Texture | null;

+ 1 - 0
src/materials/MeshDistanceMaterial.d.ts

@@ -3,6 +3,7 @@ import { Vector3 } from './../math/Vector3';
 import { Texture } from './../textures/Texture';
 
 export interface MeshDistanceMaterialParameters extends MaterialParameters {
+	map?: Texture | null;
 	alphaMap?: Texture | null;
 	displacementMap?: Texture | null;
 	displacementScale?: number;