| HeightFieldGetHeight Method |
Gets the height for a height field coordinate.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public float GetHeight(
float x,
float z
)
Public Function GetHeight (
x As Single,
z As Single
) As Single
public:
float GetHeight(
float x,
float z
)
member GetHeight :
x : float32 *
z : float32 -> float32
Parameters
- x
- Type: SystemSingle
The x coordinate that lies in the interval [0, WidthX].
- z
- Type: SystemSingle
The z coordinate that lies in the interval [0, WidthZ].
Return Value
Type:
SingleThe interpolated height for the given coordinates.
See Also