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

Method GetKeyframes

Source/Engine/Level/Actors/Spline.cpp:476–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474#if !COMPILE_WITHOUT_CSHARP
475
476void Spline::GetKeyframes(MArray* data)
477{
478 ASSERT(MCore::Array::GetLength(data) >= Curve.GetKeyframes().Count());
479 Platform::MemoryCopy(MCore::Array::GetAddress(data), Curve.GetKeyframes().Get(), sizeof(Keyframe) * Curve.GetKeyframes().Count());
480}
481
482void Spline::SetKeyframes(MArray* data, int32 keySize)
483{

Callers 15

ImportMethod · 0.45
OnScriptsReloadStartMethod · 0.45
GetInfoMethod · 0.45
LoadTimelineMethod · 0.45
SaveTimelineMethod · 0.45
SaveMethod · 0.45
SaveHeaderMethod · 0.45
GetReferencesMethod · 0.45
OnScriptingDisposeMethod · 0.45
loadMethod · 0.45
unloadMethod · 0.45
SampleCurveMethod · 0.45

Calls 4

GetAddressFunction · 0.85
GetLengthFunction · 0.50
CountMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected