API
Babylon Lite API
|
createGroundFromHeightMap
…
|
Babylon Lite API
|
createGroundFromHeightMap
createGroundFromHeightMap
Function createGroundFromHeightMap
createGroundFromHeightMap
(
engine
:
EngineContext
,
url
:
string
,
options
:
GroundOptions
,
)
:
Promise
<
Mesh
>
Create a ground mesh from a heightmap URL. Caller must assign material.
Parameters
engine
:
EngineContext
url
:
string
options
:
GroundOptions
Returns
Promise
<
Mesh
>
Create a ground mesh from a heightmap URL. Caller must assign material.