This function gets the terrain normal at the specified coordinate or 3D position.
function Terrain:GetNormal(tx, ty: number): Vec3
function Terrain:GetNormal(coord: iVec2): Vec3
function Terrain:GetNormal(coord: Vec3): Vec3
function Terrain:GetNormal(x, y, z: number): Vec3
coord, (tx, ty)
: terrain coordinateposition, (x, y, z)
: position in global spaceReturns the terrain normal at the specified coordinate or the interpolated normal at the specified position in global space.