Newer
Older
HuangJiPC / public / static / three / examples / jsm / objects / Water2.d.ts
@zhangdeliang zhangdeliang on 21 Jun 525 bytes update
import {
	BufferGeometry,
	Color,
	Geometry,
	Mesh,
	Texture,
	Vector2
} from '../../../src/Three';

export interface WaterOptions {
	color?: Color | string | number;
	textureWidth?: number;
	textureHeight?: number;
	clipBias?: number;
	flowDirection?: Vector2;
	flowSpeed?: number;
	reflectivity?: number;
	scale?: number;
	shader?: object;
	flowMap?: Texture;
	normalMap0?: Texture;
	normalMap1?: Texture;
}

export class Water extends Mesh {

	constructor( geometry: Geometry | BufferGeometry, options: WaterOptions );

}