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

Method GetMetaData

Source/Engine/Visject/GraphParameter.cpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "Engine/Core/Types/DataContainer.h"
5
6BytesContainer GraphParameter::GetMetaData(int32 typeID) const
7{
8 BytesContainer result;
9 for (const auto& e : Meta.Entries)
10 {
11 if (e.TypeID == typeID)
12 {
13 result.Link(e.Data);
14 break;
15 }
16 }
17 return result;
18}

Callers 2

GetAttributesMethod · 0.45
CacheDataMethod · 0.45

Calls 1

LinkMethod · 0.45

Tested by

no test coverage detected