Documentation / scene / WaterSurfaceSamplerOptions
Interface: WaterSurfaceSamplerOptions
Defined in: libs/scene/src/scene/water_surface_sampler.ts:23
Options for WaterSurfaceSampler.
Properties
spacing?
optionalspacing?:number
Defined in: libs/scene/src/scene/water_surface_sampler.ts:25
Lattice cell size in world metres. Defaults to 6.
cols?
optionalcols?:number
Defined in: libs/scene/src/scene/water_surface_sampler.ts:27
Lattice columns, along X. Defaults to 24.
rows?
optionalrows?:number
Defined in: libs/scene/src/scene/water_surface_sampler.ts:29
Lattice rows, along Z. Defaults to 24.
updateHz?
optionalupdateHz?:number
Defined in: libs/scene/src/scene/water_surface_sampler.ts:34
Upper bound on the query rate in hertz. The achieved rate is the lower of this and what a batch costs. Defaults to 30.
timeConstant?
optionaltimeConstant?:number
Defined in: libs/scene/src/scene/water_surface_sampler.ts:40
Seconds for the reported height to close most of the gap to a new measurement. Lower is tighter to the wave, higher is heavier. Defaults to 0.25.