提交 3d519db0 编写于 作者: M Mugen87

TS: Clean up.

上级 78d9f599
......@@ -3,6 +3,7 @@ import { MaterialParameters, Material } from './Material';
import { Texture } from './../textures/Texture';
export interface MeshDepthMaterialParameters extends MaterialParameters {
alphaMap?: Texture | null;
depthPacking?: DepthPackingStrategies;
displacementMap?: Texture | null;
displacementScale?: number;
......@@ -15,6 +16,7 @@ export class MeshDepthMaterial extends Material {
constructor( parameters?: MeshDepthMaterialParameters );
alphaMap: Texture | null;
depthPacking: DepthPackingStrategies;
displacementMap: Texture | null;
displacementScale: number;
......
......@@ -3,25 +3,26 @@ import { Vector3 } from './../math/Vector3';
import { Texture } from './../textures/Texture';
export interface MeshDistanceMaterialParameters extends MaterialParameters {
referencePosition?: Vector3;
nearDistance?: number;
farDistance?: number;
alphaMap?: Texture | null;
displacementMap?: Texture | null;
displacementScale?: number;
displacementBias?: number;
farDistance?: number;
nearDistance?: number;
referencePosition?: Vector3;
}
export class MeshDistanceMaterial extends Material {
constructor( parameters?: MeshDistanceMaterialParameters );
referencePosition: Vector3;
nearDistance: number;
farDistance: number;
alphaMap: Texture | null;
displacementMap: Texture | null;
displacementScale: number;
displacementBias: number;
farDistance: number;
nearDistance: number;
referencePosition: Vector3;
setValues( parameters: MeshDistanceMaterialParameters ): void;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册