Initial project import
This commit is contained in:
23
node_modules/three-stdlib/objects/Water2.d.ts
generated
vendored
Normal file
23
node_modules/three-stdlib/objects/Water2.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { BufferGeometry, Color, Mesh, ShaderMaterial, Texture, Vector2 } from 'three'
|
||||
import { TextureEncoding } from '../types/shared'
|
||||
|
||||
export interface Water2Options {
|
||||
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
|
||||
encoding?: TextureEncoding
|
||||
}
|
||||
|
||||
export class Water2 extends Mesh {
|
||||
material: ShaderMaterial
|
||||
constructor(geometry: BufferGeometry, options: Water2Options)
|
||||
}
|
||||
Reference in New Issue
Block a user