Click or drag to resize
DigitalRuneHeightFieldGetHeight Method
Gets the height for a height field coordinate.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public float GetHeight(
	float x,
	float z
)

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: Single
The interpolated height for the given coordinates.
See Also