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

Method Get

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

Source from the content-addressed store, hash-verified

547}
548
549MaterialParameter* MaterialParams::Get(const Guid& id)
550{
551 MaterialParameter* result = nullptr;
552 for (int32 i = 0; i < Count(); i++)
553 {
554 if (At(i).GetParameterID() == id)
555 {
556 result = &At(i);
557 break;
558 }
559 }
560 return result;
561}
562
563MaterialParameter* MaterialParams::Get(const StringView& name)
564{

Callers 15

BindMethod · 0.45
GetValueMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
BindMethod · 0.45
LoadMethod · 0.45
BindMethod · 0.45

Calls 2

CountFunction · 0.85
GetNameMethod · 0.45

Tested by

no test coverage detected