s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Components
WaterBody
Find
chevron_left
Components
class
WaterBody
Constructors
functions
WaterBody
Properties
data_object
Depth
data_object
DetailTimeOffset
data_object
DetailTimeSpeed
data_object
Effects
data_object
Material
data_object
Ocean
data_object
OverrideUnderwaterFogColor
data_object
ReflectionEnvironment
data_object
ReflectionEnvmap
data_object
Reflections
data_object
Size
data_object
Underwater
data_object
UnderwaterBlur
data_object
UnderwaterColorGrade
data_object
UnderwaterDistortion
data_object
UnderwaterDistortionSpeed
data_object
UnderwaterDistortionTimeOffset
data_object
UnderwaterFogAttenuationDistance
data_object
UnderwaterFogColor
data_object
UnderwaterFogMaximumOpacity
data_object
UnderwaterFogNearDistance
data_object
UnderwaterParticleColor
data_object
UnderwaterParticleDensity
data_object
UnderwaterParticleDriftSpeed
data_object
UnderwaterParticleSizeRange
data_object
UnderwaterParticleTimeOffset
data_object
UnderwaterVignette
data_object
UsesMeshBounds
data_object
UsesMeshDepth
data_object
WaveDirection
data_object
WaveHeight
data_object
WaveLength
data_object
Waves
data_object
WaveSpeed
data_object
WaveSteepness
data_object
WaveTimeOffset
data_object
WaveWidth
Methods
functions
Contains
functions
CreateBulletSplash
functions
CreateSplash
functions
FromSurface
functions
SampleHeight
functions
SampleSurface
functions
ToSurface
Static Fields
crop_din
SurfaceTag
Static Methods
functions
Find
functions
FindSurface
Find
Find an active fluid volume containing a world point. Finite volumes take precedence over infinite water; overlapping volumes of the same kind use scene order.
method
static
static
WaterBody
Find
(
Scene
scene
,
Vector3
position
)
Parameters
Name
Type
Description
scene
Scene
position
Vector3
Returns
Type
Description
WaterBody
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.