未验证 提交 92dc66d0 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #18229 from kazz0913/mapProperty

TS: Added map definition to MeshDepthMaterial and MeshDistanceMaterial.
......@@ -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;
......@@ -16,6 +17,7 @@ export class MeshDepthMaterial extends Material {
constructor( parameters?: MeshDepthMaterialParameters );
map: Texture | null;
alphaMap: Texture | null;
depthPacking: DepthPackingStrategies;
displacementMap: Texture | null;
......
......@@ -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;
......@@ -16,6 +17,7 @@ export class MeshDistanceMaterial extends Material {
constructor( parameters?: MeshDistanceMaterialParameters );
map: Texture | null;
alphaMap: Texture | null;
displacementMap: Texture | null;
displacementScale: number;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册