Searched refs:nextFrameIndex (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_system.cpp | 466 size_t& currentFrameIndex, size_t& nextFrameIndex) in FindFrameIndices() argument 485 nextFrameIndex = std::clamp(next, size_t(0), timestamps.size() - 1); in FindFrameIndices() 1171 size_t nextFrameIndex; in Calculate() local 1175 … trackValues_[trackId].forward, currentTime, timestamps, currentFrameIndex, nextFrameIndex); in Calculate() 1178 if (currentFrameIndex != nextFrameIndex) { in Calculate() 1180 const float endFrameTime = timestamps[nextFrameIndex]; in Calculate() 1186 … frameIndices_[trackId] = FrameData { currentOffset, currentFrameIndex, nextFrameIndex }; in Calculate() 1239 … currentFrame.currentFrameIndex * inputCount, currentFrame.nextFrameIndex * inputCount, in AnimateTracks()
|
H A D | animation_system.h | 104 size_t nextFrameIndex; member
|