Web water: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
===GET txt===
===GET txt===
API Endpoint: web/water.txt
API Endpoint: web/water.txt
Content-Type: application/json


'''Parameters:'''
'''Parameters:'''
Line 63: Line 65:
===GET tex===
===GET tex===
API Endpoint: web/water.tex
API Endpoint: web/water.tex
Content-Type: application/json


'''Parameters:'''
'''Parameters:'''
Line 123: Line 127:
===GET bin===
===GET bin===
API Endpoint: web/water.bin
API Endpoint: web/water.bin
Content-Type: application/json


'''Parameters:'''
'''Parameters:'''

Revision as of 13:04, 19 June 2026

API Endpoint: web/water

GET txt

API Endpoint: web/water.txt

Content-Type: application/json

Parameters:

Name Location Type Default value
format Path String
id Query Integer
maptype Query Map Type MAQUETTE
width Query int 256
height Query int 256
offset Query float 0
flipY Query boolean false
worlddatum Query boolean false
decimation Query int 16

Examples

Query Water instead of Terrain elevation:

https://engine.tygron.com/web/water.txt?token=WEB_TOKEN

GET tex

API Endpoint: web/water.tex

Content-Type: application/json

Parameters:

Name Location Type Default value
format Path String
id Query Integer
maptype Query Map Type MAQUETTE
width Query int 256
height Query int 256
offset Query float 0
flipY Query boolean false
worlddatum Query boolean false
decimation Query int 16

Examples

Query Water instead of Terrain elevation:

https://engine.tygron.com/web/water.tex?token=WEB_TOKEN

GET bin

API Endpoint: web/water.bin

Content-Type: application/json

Parameters:

Name Location Type Default value
format Path String
id Query Integer
maptype Query Map Type MAQUETTE
width Query int 256
height Query int 256
offset Query float 0
flipY Query boolean false
worlddatum Query boolean false
decimation Query int 16

Examples

Query Water instead of Terrain elevation:

https://engine.tygron.com/web/water.bin?token=WEB_TOKEN

See also