Ocean API
Part of Decals API
Functions
proto native float GetOceanHeight(float worldX, float worldZ) | Get water ocean height at given point | more… |
proto native vector GetOceanHeightAndDisplace(float worldX, float worldZ) | Get water ocean height and displacement at given point, returns vector(displaceX, height, displaceZ) | more… |
proto native bool IsOcean() | Is ocean availabled |
Function Documentation
GetOceanHeight
Get water ocean height at given point
worldX- world x position
worldZ- world z position