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

Method Save

Source/Engine/Content/Assets/AnimationGraph.cpp:228–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228bool AnimationGraph::Save(const StringView& path)
229{
230 if (OnCheckSave(path))
231 return true;
232 ScopeLock lock(Locker);
233 MemoryWriteStream writeStream;
234 if (Graph.Save(&writeStream, true))
235 return true;
236 BytesContainer data;
237 data.Link(ToSpan(writeStream));
238 return SaveSurface(data);
239}
240
241#endif

Callers 2

InitAsAnimationMethod · 0.45
LoadSurfaceMethod · 0.45

Calls 2

ToSpanFunction · 0.50
LinkMethod · 0.45

Tested by

no test coverage detected