Namespace: Rx – Class: CRxArrayFloat – Header: Rx.Core/RxArrayTypes.h

CRxArrayFloat::Resize Method

C++
void Resize(size_t nNewElementCount, const float& tValue)

Resizes the array to contain count elements.

If the current size is greater than nNewElementCount, the array is reduced to its first nNewElementCount elements.

If the current size is less than count, additional copies of tValue are appended.

Parameters

[size_t] nNewElementCount

New size of the array.

[const float&] tValue

The value to initialize the new elements with.