Searched refs:ecsListener (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.h | 92 if (auto ecsListener = ecsListener_.lock()) { in SCENE_BEGIN_NAMESPACE() local 94 … CORE_NS::GetManager<CORE3D_NS::IAnimationTrackComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 98 … CORE_NS::GetManager<CORE3D_NS::IAnimationInputComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 105 void SetCommonListener(BASE_NS::shared_ptr<SCENE_NS::EcsListener> ecsListener) override in SCENE_BEGIN_NAMESPACE() 107 ecsListener_ = ecsListener; in SCENE_BEGIN_NAMESPACE() 156 if (auto ecsListener = ecsListener_.lock()) { in SCENE_BEGIN_NAMESPACE() local 157 if (!ecsListener->ecs_) { in SCENE_BEGIN_NAMESPACE() 161 … CORE_NS::GetManager<CORE3D_NS::IAnimationTrackComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 165 … CORE_NS::GetManager<CORE3D_NS::IAnimationInputComponentManager>(*ecsListener->ecs_)) { in SCENE_BEGIN_NAMESPACE() 230 void SetCommonListener(BASE_NS::shared_ptr<SCENE_NS::EcsListener> ecsListener) override in SetCommonListener() argument [all …]
|
H A D | ecs_animation.cpp | 290 if (auto ecsListener = ecsListener_.lock()) { in SetEntity() local 292 ecsListener->AddEntity(entity_, po, *nameManager_); in SetEntity() 293 ecsListener->AddEntity(entity_, po, *animationStateManager_); in SetEntity() 294 ecsListener->AddEntity(entity_, po, *animationManager_); in SetEntity() 295 ecsListener->AddEntity(entity_, po, *animationTrackManager_); in SetEntity() 296 ecsListener->AddEntity(entity_, po, *animationInputManager_); in SetEntity() 986 if (auto ecsListener = ecsListener_.lock()) { in Destroy() local 988 ecsListener->RemoveEntity(entity_, po, *nameManager_); in Destroy() 989 ecsListener->RemoveEntity(entity_, po, *animationStateManager_); in Destroy() 990 ecsListener->RemoveEntity(entity_, po, *animationManager_); in Destroy() [all …]
|