⚲
Class:
Terrain
Lua
C++
Edit
Terrain::SetHeight
This method sets a terrain point's height. The height value will be clamped between 0.0 and 1.0.
Syntax
void
SetHeight
(const int x, const int y, const float height)
void
SetHeight
(const
iVec2
& coord, const float height)
Parameter
Description
coord, (x, y)
terrain coorinate
height
height to set
Copyright © 2024 Ultra Software.
All rights reserved.