MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / ArrayOfIndices

Function ArrayOfIndices

Source/PCGExtendedToolkit/Private/PCGEx.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 void ArrayOfIndices(TArray<int32>& OutArray, const int32 InNum)
43 {
44 {
45 const int32 _num_ = InNum;
46 OutArray.Reserve(_num_);
47 OutArray.SetNum(_num_);
48 }
49 for (int i = 0; i < InNum; i++) { OutArray[i] = i; }
50 }
51
52 FName GetCompoundName(const FName A, const FName B)
53 {

Callers 6

ProcessMethod · 0.85
CollapseCrossingMethod · 0.85
CrossBlendPointMethod · 0.85
WriteMethod · 0.85
CompileMethod · 0.85

Calls 2

SetNumMethod · 0.80
ReserveMethod · 0.45

Tested by

no test coverage detected