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

Method Find

Source/Engine/Graphics/Materials/MaterialParams.cpp:577–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575}
576
577int32 MaterialParams::Find(const Guid& id)
578{
579 int32 result = -1;
580 for (int32 i = 0; i < Count(); i++)
581 {
582 if (At(i).GetParameterID() == id)
583 {
584 result = i;
585 break;
586 }
587 }
588 return result;
589}
590
591int32 MaterialParams::Find(const StringView& name)
592{

Callers 2

UpdateOutputsMethod · 0.45
GetMethod · 0.45

Calls 2

CountFunction · 0.85
GetNameMethod · 0.45

Tested by

no test coverage detected