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

Method SetKeyframes

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

Source from the content-addressed store, hash-verified

480}
481
482void Spline::SetKeyframes(MArray* data, int32 keySize)
483{
484 Curve = Span<byte>(MCore::Array::GetAddress<byte>(data), keySize * MCore::Array::GetLength(data));
485 UpdateSpline();
486}
487
488#endif
489

Callers 1

OptimizeCurveFunction · 0.45

Calls 1

GetLengthFunction · 0.50

Tested by

no test coverage detected