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

Method IsValidIndex

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

Determines if given index is valid. The index. true if is valid a index; otherwise, false .

Source from the content-addressed store, hash-verified

229 /// <param name="index">The index.</param>
230 /// <returns><c>true</c> if is valid a index; otherwise, <c>false</c>.</returns>
231 bool IsValidIndex(const int32 index) const
232 {
233 return index < _count && index >= 0;
234 }
235
236 /// <summary>
237 /// Gets the pointer to the first item in the collection (linear allocation).

Callers 8

SpawnParticlesMethod · 0.80
GetPixelsMethod · 0.80
GetNodeTransformMethod · 0.80
SetNodeTransformMethod · 0.80
GetLODMethod · 0.80
GetLODMethod · 0.80
GetCommandNameMethod · 0.80
UpdateTransformationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected