MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetAll

Method SetAll

Source/Engine/Core/Collections/Array.h:433–438  ·  view source on GitHub ↗

Sets all items to the given value The value to assign to all the collection items.

Source from the content-addressed store, hash-verified

431 /// </summary>
432 /// <param name="value">The value to assign to all the collection items.</param>
433 void SetAll(const T& value)
434 {
435 T* data = _allocation.Get();
436 for (int32 i = 0; i < _count; i++)
437 data[i] = value;
438 }
439
440 /// <summary>
441 /// Sets the collection data.

Callers 15

StartDrawingMethod · 0.45
SyncMethod · 0.45
InitMemoryMethod · 0.45
InitStateMethod · 0.45
InitializeMethod · 0.45
GenerateNormalsMethod · 0.45
GenerateTangentsMethod · 0.45
UpdateMeshMethod · 0.45
DownloadDataMethod · 0.45
GetOrCreateStateMethod · 0.45
InitMethod · 0.45

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected