Home
last modified time | relevance | path

Searched refs:GetEcs (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dentity_collection.cpp57 IEcs& EntityCollection::GetEcs() const in GetEcs() function in EntityCollection
475 auto ref = GetEcs().GetEntityManager().GetReferenceCounted(entity); in GetReference()
651 … auto dstEntity = CloneEntityReference(srcCollection.GetEcs(), srcEntity, dstCollection.GetEcs()); in CloneEntitiesFromCollection()
663 for (auto& cm : srcCollection.GetEcs().GetComponentManagers()) { in CloneEntitiesFromCollection()
687 RewriteEntityReferences(GetEcs(), entity, oldToNew); in CopyContentsWithSerialization()
721 RewriteEntityReferences(dst.GetEcs(), entity, oldToNew); in ClonePrivate()
728 … dst.entities_ = CloneEntityReferences(ecs_, { entities_.data(), entities_.size() }, dst.GetEcs()); in DoCloneRecursive()
751 … new EntityCollection(dst.GetEcs(), collection->GetUri(), collection->GetContextUri()) }); in DoCloneRecursive()
831 auto cm = GetEcs().GetComponentManager(component); in MarkAllPropertiesSerialized()
862 auto* cm = GetEcs().GetComponentManager(component); in MarkPropertySerialized()
H A Decs_serializer.cpp402 auto* rhm = GetManager<IRenderHandleComponentManager>(ec.GetEcs()); in EntityReferenceToJson()
425 auto* rhm = GetManager<IRenderHandleComponentManager>(ec.GetEcs()); in EntityReferenceFromJson()
427 … entityOut = GetOrCreateEntityReference(ec.GetEcs().GetEntityManager(), *rhm, renderHandle); in EntityReferenceFromJson()
437 entityOut = ec.GetEcs().GetEntityManager().GetReferenceCounted(temp); in EntityReferenceFromJson()
642 auto cms = ec.GetEcs().GetComponentManagers(); in WriteComponents()
653 const auto* cm = ec.GetEcs().GetComponentManager(StringToUid(uidString)); in WriteComponents()
870 … auto* externalCollection = listener_->GetExternalCollection(ec.GetEcs(), srcUri, contextUri); in ReadEntityCollection()
897 listener_->GetExternalCollection(ec.GetEcs(), collectionSrcUri, contextUri); in ReadEntityCollection()
916 auto& em = ec.GetEcs().GetEntityManager(); in ReadEntityCollection()
966 auto& ecs = ec.GetEcs(); in ReadComponents()
H A Dnode_impl.cpp297 CORE_NS::IEcs::Ptr NodeImpl::GetEcs() const in GetEcs() function in NodeImpl
300 return ecsObject_->GetEcs(); in GetEcs()
603 if (!ecsObject->GetEcs()) { in Initialize()
742 if (!self->EcsObject()->GetEcs()) { in SetPathWithEcsNode()
756 ecsObject->SetEntity(sceneHolder->GetEcs(), entity); in SetPathWithEcsNode()
797 self->EcsObject()->SetEntity(sceneHolder->GetEcs(), entity); in SetPathWithoutNode()
994 if (!ecsObject_ || !ecsObject_->GetEcs()) { in BuildChildren()
1017 … static_cast<CORE3D_NS::INodeSystem*>(ecs->GetEcs()->GetSystem(CORE3D_NS::INodeSystem::UID)); in BuildChildren()
1234 SetEntity(ecsObject_->GetEcs(), {}); in ReleaseEntityOwnership()
H A Dasset_loader.cpp67 EntityReference ref = ec.GetEcs().GetEntityManager().GetReferenceCounted(entity); in AddNodeToCollectionRecursive()
84 ecs_(ec.GetEcs()), ec_(ec), src_(src), contextUri_(contextUri), in AssetLoader()
396 … assetManager_.CreateCachedCollection(ec_.GetEcs(), patchedDepUri, dep.contextUri); in LoadJsonEntityCollection()
439 importer_ = gltf.CreateGLTF2Importer(ec_.GetEcs()); in LoadGltfEntityCollection()
H A Drender_configuration_impl.cpp58 auto ecs = sh->GetEcs(); in Connect()
H A Dscene_impl.cpp348 ecsAnimation->SetEntity(*sceneHolder->GetEcs(), entity); in GetAnimation()
408 auto ecs = GetEcs(); in ResolveNodeTypeFromPath()
485 auto ecs = GetEcs(); in GetNodeRecursive()
668 auto ecs = GetEcs(); in constructPath()
771 CORE3D_NS::INodeSystem& nodeSystem = *CORE_NS::GetSystem<CORE3D_NS::INodeSystem>(*GetEcs()); in onSceneInitialized()
907 CORE_NS::IEcs::Ptr GetEcs() override in GetEcs() function in __anon3577c0ce0110::SceneImpl
909 return sceneHolder_->GetEcs(); in GetEcs()
912 CORE_NS::IEcs::Ptr GetEcs() const in GetEcs() function in __anon3577c0ce0110::SceneImpl
914 return sceneHolder_->GetEcs(); in GetEcs()
H A Dasset_migration.cpp85 auto* aocm = GetManager<IAnimationOutputComponentManager>(collection.GetEcs()); in MigrateAnimation()
H A Dcamera_impl.cpp159 auto ecs = sh->GetEcs(); in CompleteInitialization()
173 auto ecs = sh->GetEcs(); in CompleteInitialization()
227 auto ecs = ecs0->GetEcs(); in CompleteInitialization()
H A Dmesh_impl.cpp113 if (auto ecs = EcsScene()->GetEcs()) { in CompleteInitialization()
166 … self->EcsObject()->SetEntity(sceneHolder->GetEcs(), meshEntinty); in SetPath()
H A Dasset_manager.cpp223 auto& ecs = ec.GetEcs(); in InstantiateCollection()
H A Dentity_collection.h42 CORE_NS::IEcs& GetEcs() const override; in SCENE_BEGIN_NAMESPACE()
H A Decs_object.cpp58 CORE_NS::IEcs::Ptr GetEcs() const override in GetEcs() function in EcsObject
H A Dpostprocess_impl.cpp172 auto ecs = sh->GetEcs(); in SetEntity()
H A Dmaterial_impl.cpp192 self->EcsObject()->SetEntity(sceneHolder->GetEcs(), materialEntity); in SetPath()
955 auto ecs = EcsObject()->GetEcs(); in UpdateInputs()
1266 … auto image = sh->GetEcs()->GetEntityManager().GetReferenceCounted(imageEntity); in SetImage()
H A Dnode_impl.h143 CORE_NS::IEcs::Ptr GetEcs() const override;
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_ecs_object.h41 virtual CORE_NS::IEcs::Ptr GetEcs() const = 0;
66 virtual CORE_NS::IEcs::Ptr GetEcs() const = 0;
H A Dintf_ecs_scene.h61 virtual CORE_NS::IEcs::Ptr GetEcs() = 0;
H A Dintf_entity_collection.h54 virtual CORE_NS::IEcs& GetEcs() const = 0; in SCENE_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_playback.cpp126 … auto trackManager = GetManager<IAnimationTrackComponentManager>(animationManager_->GetEcs()); in GetAnimationLength()
127 … auto inputManager = GetManager<IAnimationInputComponentManager>(animationManager_->GetEcs()); in GetAnimationLength()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/
H A Dcomponent_query.cpp98 auto& em = baseComponentSet.GetEcs().GetEntityManager(); in Execute()
192 ecs_ = &managers_[0]->GetEcs(); in RegisterEcsListeners()
H A Dbase_manager.h80 IEcs& GetEcs() const override;
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Duri_lookup.cpp37 const auto& entityManager = uriManager.GetEcs().GetEntityManager(); in LookupResourceByUri()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dintf_component_manager.h181 virtual IEcs& GetEcs() const = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dpost_process_configuration_component_manager.cpp167 IEcs& GetEcs() const override;
564 IEcs& PostProcessConfigurationComponentManager::GetEcs() const in GetEcs() function in PostProcessConfigurationComponentManager
H A Dmaterial_component_manager.cpp337 IEcs& GetEcs() const override;
784 IEcs& MaterialComponentManager::GetEcs() const in GetEcs() function in MaterialComponentManager

12