MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / AddTrack

Method AddTrack

src/engine/KeyframeAnimation.cpp:232–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void Sequence::AddTrack(const std::string& name, const std::shared_ptr<Sampler>& track)
233{
234 m_Tracks[name] = track;
235 m_Duration = std::max(m_Duration, track->GetEndTime());
236}
237
238void Sequence::Load(Json::Value& node)
239{

Callers

nothing calls this directly

Calls 2

GetEndTimeMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected