| HeightField Constructor (Single, Single, Single) |
Note: This API is now obsolete.
Initializes a new instance of the
HeightField class from the given array.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax [ObsoleteAttribute("Setting the height field with a 2-dimensional array is obsolete. Use a 1-dimensional array instead.")]
public HeightField(
float widthX,
float widthZ,
float[,] array
)
<ObsoleteAttribute("Setting the height field with a 2-dimensional array is obsolete. Use a 1-dimensional array instead.")>
Public Sub New (
widthX As Single,
widthZ As Single,
array As Single(,)
)
public:
[ObsoleteAttribute(L"Setting the height field with a 2-dimensional array is obsolete. Use a 1-dimensional array instead.")]
HeightField(
float widthX,
float widthZ,
array<float,2>^ array
)
[<ObsoleteAttribute("Setting the height field with a 2-dimensional array is obsolete. Use a 1-dimensional array instead.")>]
new :
widthX : float32 *
widthZ : float32 *
array : float32[,] -> HeightField
Parameters
- widthX
- Type: SystemSingle
The width along the x-axis. - widthZ
- Type: SystemSingle
The width along the z-axis. - array
- Type: SystemSingle
The array.
Exceptions See Also