| HeightFieldSetSamples Method |
Sets the array of height samples.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void SetSamples(
float[] samples,
int numberOfSamplesX,
int numberOfSamplesZ
)
Public Sub SetSamples (
samples As Single(),
numberOfSamplesX As Integer,
numberOfSamplesZ As Integer
)
public:
void SetSamples(
array<float>^ samples,
int numberOfSamplesX,
int numberOfSamplesZ
)
member SetSamples :
samples : float32[] *
numberOfSamplesX : int *
numberOfSamplesZ : int -> unit
Parameters
- samples
- Type: SystemSingle
The height samples (see Samples). - numberOfSamplesX
- Type: SystemInt32
The number of samples along the x-axis. (Must be at least 2.)
- numberOfSamplesZ
- Type: SystemInt32
The number of samples along the z-axis. (Must be at least 2.)
Exceptions See Also