Home
last modified time | relevance | path

Searched refs:animationHandle (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp721 if (animationHandle && stateHandle) { in Update()
805 !animationHandle || (animationHandle->tracks.size() != targetEntities.size()) || in CreatePlayback()
884 if (auto animationHandle = animationManager_.Read(entity); animationHandle) { in OnAnimationComponentsCreated() local
907 auto animationHandle = animationManager_.Read(entity); in OnAnimationComponentsUpdated() local
909 const auto newState = animationHandle->state; in OnAnimationComponentsUpdated()
916 ResetTime(*stateHandle, *animationHandle); in OnAnimationComponentsUpdated()
919 stateHandle->time = animationHandle->duration; in OnAnimationComponentsUpdated()
928 stateHandle->state = animationHandle->state; in OnAnimationComponentsUpdated()
932 if (trackStates.size() != animationHandle->tracks.size()) { in OnAnimationComponentsUpdated()
933 trackStates.resize(animationHandle->tracks.size()); in OnAnimationComponentsUpdated()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_animation.cpp804 const auto animationHandle = animationManager_->Write(GetEntity()); in OnDestroyAnimationTrack() local
805 …auto it = std::find(animationHandle->tracks.begin(), animationHandle->tracks.end(), track->GetEnti… in OnDestroyAnimationTrack()
806 if (it != animationHandle->tracks.end()) { in OnDestroyAnimationTrack()
807 animationHandle->tracks.erase(it); in OnDestroyAnimationTrack()
823 auto animationHandle = animationManager_->Read(GetEntity()); in GetAllRelatedEntities() local
824 if (animationHandle) { in GetAllRelatedEntities()
825 for (auto& track : animationHandle->tracks) { in GetAllRelatedEntities()
920 const auto animationHandle = animationManager_->Write(GetEntity()); in CreateAnimationTrack() local
921 animationHandle->tracks.emplace_back(animationTrack); in CreateAnimationTrack()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp856 if (const auto animationHandle = animationManager->Read(i); animationHandle) { in ExportGltfAnimations() local
857 for (auto const& trackEntity : animationHandle->tracks) { in ExportGltfAnimations()
H A Dgltf2_importer.cpp2472 const auto animationHandle = animationManager->Write(animationEntity); in operator ()() local
2474 auto& animationTracks = animationHandle->tracks; in operator ()()
2506 animationHandle->duration = maxLength; in operator ()()