Home
last modified time | relevance | path

Searched refs:GetEntity (Results 1 - 25 of 57) sorted by relevance

123

/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_animation.cpp128 return node->GetEntity(); in UpdateTrackTargets()
131 return targetNode->GetEntity(); in UpdateTrackTargets()
260 UpdateTrackTargets(*ecs_, GetEntity(), entity); in Retarget()
325 if (auto nameHandle = nameManager_->Read(track->GetEntity()); nameHandle) { in TryResolveAnimationRoot()
331 if (auto trackHandle = animationTrackManager_->Read(track->GetEntity()); trackHandle) { in TryResolveAnimationRoot()
358 SetRootEntity(node->GetEntity()); in TryResolveAnimationRoot()
361 return node ? node->GetEntity() : Entity {}; in TryResolveAnimationRoot()
446 if (nameManager_->HasComponent(GetEntity())) { in OnAnimationNameChanged()
448 SetValue(Name(), nameManager_->Get(GetEntity()).name); in OnAnimationNameChanged()
484 tracks.begin(), tracks.end(), [entity](const auto& track) { return track->GetEntity() in OnAnimationTracksChanged()
1036 CORE_NS::Entity EcsAnimation::GetEntity() const GetEntity() function in EcsAnimation
[all...]
H A Dcamera_impl.cpp140 SceneHolder()->SetRenderSize(renderSize.x, renderSize.y, ecsObject->GetEntity().id);
228 auto ent = ecs0->GetEntity();
259 [source = interface_cast<SCENE_NS::IEcsObject>(camera)->GetEntity(),
260 target = GetSelf<SCENE_NS::IEcsObject>()->GetEntity()](auto sh) {
300 [source = interface_cast<SCENE_NS::IEcsObject>(camera)->GetEntity(),
301 target = GetSelf<SCENE_NS::IEcsObject>()->GetEntity()](auto sh) {
321 if (sh->ScreenToWorld(ret, self->GetEntity(), screenCoordinate)) {
354 if (sh->WorldToScreen(ret, self->GetEntity(), worldCoordinate)) {
388 if (sh->RayCastFromCamera(ret, self->GetEntity(), pos)) {
431 if (sh->RayCastFromCamera(ret, self->GetEntity(), po
[all...]
H A Dsubmeshhandler.cpp90 if (ecsObject && ecsObject->GetEntity() == entity) { in GetMaterialFromEntity()
184 self->GetEntity(), index, value);
210 entity = ecsObject->GetEntity();
214 sceneHolder->SetMaterial(self->GetEntity(), entity, index);
242 sceneHolder->SetSubmeshAABBMin(self->GetEntity(), index, vec);
275 sceneHolder->SetSubmeshAABBMax(self->GetEntity(), index, vec);
315 sceneHolder->RemoveSubmesh(self->GetEntity(), index);
328 CORE_NS::Entity GetEntity() const override
H A Dasset_loader.cpp64 const auto entity = node.GetEntity(); in AddNodeToCollectionRecursive()
365 auto targetEntity = ec_.GetEntity(entityTarget); in LoadJsonEntityCollection()
368 targetEntity = ec_.GetSubCollection(--subcollectionCount)->GetEntity(entityTarget); in LoadJsonEntityCollection()
474 auto ent = nodeComponentManager->GetEntity(i); in ImportSceneFromGltf()
522 return targetNode->GetEntity(); in UpdateTrackTargets()
561 auto targetEntity = ec_.GetEntity(entityTarget); in GltfImportFinished()
564 targetEntity = ec_.GetSubCollection(--subcollectionCount)->GetEntity(entityTarget); in GltfImportFinished()
592 if (!loadNode || loadNode->GetEntity() == Entity {}) { in GltfImportFinished()
597 if (!loadNode || loadNode->GetEntity() == Entity {}) { in GltfImportFinished()
604 Entity entity = loadNode->GetEntity(); in GltfImportFinished()
[all...]
H A Dintf_submesh_bridge.h38 virtual CORE_NS::Entity GetEntity() const = 0;
47 virtual CORE_NS::Entity GetEntity() const = 0;
H A Dnode_impl.cpp152 [path, index, e = ecsObject_->GetEntity(), weak_sh = BASE_NS::weak_ptr(sceneHolder)] { in Activate()
172 [e = ecsObject_->GetEntity(), weak_sh = BASE_NS::weak_ptr(sceneHolder)] { in Deactivate()
312 CORE_NS::Entity NodeImpl::GetEntity() const in GetEntity() function in NodeImpl
315 return ecsObject_->GetEntity(); in GetEntity()
364 auto clone = sceneHolder->CloneEntity(self->EcsObject()->GetEntity(), name, false); in CloneEcs()
457 sceneHolder->ReindexEntity(self->EcsObject()->GetEntity(), index); in SetIndex()
483 sceneHolder->RenameEntity(self->EcsObject()->GetEntity(), name); in RenameEntity()
747 auto entity = ecsNode->GetEntity(); in SetPathWithEcsNode()
1161 sceneHolder->SetMesh(self->GetEntity(), meshObject->GetEntity()); in SetMeshToEngine()
[all...]
H A Dmesh_impl.cpp116 EcsObject()->GetEntity(), META_ACCESS_PROPERTY(SubMeshes), GetSelf<INodeEcsInterfacePrivate>());
313 auto entityName = SceneHolder()->GetMaterialName(EcsObject()->GetEntity(), index);
331 auto entityName = sceneHolder->GetMaterialName(self->GetEntity(), index);
399 auto existingEntity = privateIntf->EcsObject()->GetEntity(); in UpdateMeshFromArrays()
449 [source = interface_pointer_cast<SCENE_NS::ISubMeshPrivate>(submesh)->GetEntity(),
452 privateIntf->EcsObject()->GetEntity(), source, index);
H A Dgraphicsstate_impl.cpp62 mat->GetEntity(), (SceneHolder::ShaderType)type, st);
82 sceneHolder->GetGraphicsState(mat->GetEntity(), (SceneHolder::ShaderType)type, ret);
H A Dmaterial_impl.cpp140 [e = ecsObject_->GetEntity(), w = BASE_NS::weak_ptr(sceneHolder)] {
158 [e = ecsObject_->GetEntity(), w = BASE_NS::weak_ptr(sceneHolder)] {
245 [uri, entityId = EcsObject()->GetEntity().id, arrayIndex](auto sh) { in ApplyTextureInfoImage()
258 [entity = EcsObject()->GetEntity(), arrayIndex](auto sh) { in ApplyTextureInfoImage()
281 [value = prop->GetValue(), entityId = EcsObject()->GetEntity().id, arrayIndex](auto sh) { in SubscribeToTextureInfo()
455 [entity = EcsObject()->GetEntity(), arrayIx, w_info](SceneHolder::Ptr sh) { in CheckImageHandle()
954 auto entity = EcsObject()->GetEntity(); in UpdateInputs()
1136 EcsObject()->GetEntity(), SceneHolder::ShaderType::DEPTH_SHADER, DepthShader()->GetValue());
1139 auto shader = SceneHolder()->GetShader(EcsObject()->GetEntity(), SceneHolder::ShaderType::DEPTH_SHADER);
1147 EcsObject()->GetEntity(), SceneHolde
[all...]
H A Dintf_postprocess_private.h29 virtual CORE_NS::Entity GetEntity() = 0;
H A Dscene_holder.cpp178 auto cameraEnt = interface_cast<SCENE_NS::IEcsObject>(camera)->GetEntity(); in SetCameraTarget()
541 auto entity = node->GetEntity(); in CreateCamera()
585 if (cameraComponentManager_->Get(cameraComponentManager_->GetEntity(cameraCount)).sceneFlags & in SetDefaultCamera()
587 auto entity = cameraComponentManager_->GetEntity(cameraCount); in SetDefaultCamera()
800 nodeComponentManager_->Create(rootNode_->GetEntity()); in ResetScene()
989 entity = ecsNode->GetEntity(); in FindMesh()
1053 entity = ecsNode->GetEntity(); in FindMaterial()
1058 entity = created->GetEntity(); in FindMaterial()
1115 entity = ecsNode->GetEntity(); in FindAnimation()
1148 auto entity = ecsObject->GetEntity(); in UpdateAttachments()
[all...]
H A Dentity_collection.cpp104 EntityReference EntityCollection::GetEntity(size_t collectionIndex) const in GetEntity() function in EntityCollection
113 EntityReference EntityCollection::GetEntity(string_view localContextId) const in GetEntity() function in EntityCollection
128 auto ret = GetEntity(localContextId); in GetEntityRecursive()
336 if (collections_[i]->GetEntity("/") == entity) { in GetSubCollectionIndexByRoot()
464 if (collection->GetEntity("/") == entity) {
596 if (!CORE_NS::EntityUtil::IsValid(targetCollection->GetEntity(postFixed))) {
643 auto root = sc->GetEntity("/");
H A Dmultimesh_impl.cpp112 sceneHolder->SetMeshMultimeshArray(mm, mesh->EcsObject()->GetEntity());
144 mm, material->EcsObject()->GetEntity());
H A Dsubmesh_impl.cpp144 CORE_NS::Entity GetEntity() const override
148 return first->GetEntity();
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/
H A Decs_animation_util.h55 return node->GetEntity(); in UpdateAnimationTrackTargets()
57 return targetNode->GetEntity(); in UpdateAnimationTrackTargets()
H A Dintf_entity_collection.h65 virtual EntityReference GetEntity(size_t collectionIndex) const = 0;
66 virtual EntityReference GetEntity(string_view localContextId) const = 0;
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_ecs_object.h40 virtual CORE_NS::Entity GetEntity() const = 0;
68 virtual CORE_NS::Entity GetEntity() const = 0;
H A Dintf_ecs_animation.h32 virtual CORE_NS::Entity GetEntity() const = 0;
55 virtual CORE_NS::Entity GetEntity() const = 0;
H A Dintf_entity_collection.h67 virtual CORE_NS::EntityReference GetEntity(size_t collectionIndex) const = 0;
68 virtual CORE_NS::EntityReference GetEntity(BASE_NS::string_view localContextId) const = 0;
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/
H A Dentity_factory.h39 WifiDirectEntity& GetEntity(InnerLink::LinkType type) in GetEntity() function in OHOS::SoftBus::EntityFactory
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dnode_system.cpp109 if (componentManager.HasComponent(node.GetEntity())) { in RecursivelyLookupNodesByComponent()
248 const auto currEntity = curNode->GetEntity();
268 Entity GetEntity() const override
303 nodeAccess_.SetParent(node.GetEntity(), *this);
314 nodeAccess_.SetParent(node.GetEntity(), *this);
332 nodeAccess_.SetParent(node.GetEntity(), *nodeAccess_.GetNode({}));
347 nodeAccess_.SetParent(node->GetEntity(), *nodeAccess_.GetNode({}));
763 const auto newParent = node.GetEntity();
833 auto entity = nodeComponentManager_.GetEntity(i);
939 if (ScopedHandle<const NodeComponent> data = nodeComponentManager_.Read(node.GetEntity()); dat in GetParentNoRefresh()
[all...]
H A Danimation_playback.h64 CORE_NS::Entity GetEntity() const override;
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_matching_skill.cpp36 std::string MatchingSkills::GetEntity(size_t index) const in GetEntity() function in OHOS::EventFwk::MatchingSkills
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Duri_lookup.cpp40 if (Entity entity = uriManager.GetEntity(i); entityManager.IsAlive(entity)) { in LookupResourceByUri()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/systems/
H A Dintf_animation_system.h105 virtual CORE_NS::Entity GetEntity() const = 0;

Completed in 19 milliseconds

123