[go: up one dir, main page]

CN118555361A - System and method for managing spatial states and display modes in a multi-user communication session - Google Patents

System and method for managing spatial states and display modes in a multi-user communication session Download PDF

Info

Publication number
CN118555361A
CN118555361A CN202410207362.1A CN202410207362A CN118555361A CN 118555361 A CN118555361 A CN 118555361A CN 202410207362 A CN202410207362 A CN 202410207362A CN 118555361 A CN118555361 A CN 118555361A
Authority
CN
China
Prior art keywords
electronic device
user
display
spatial
examples
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410207362.1A
Other languages
Chinese (zh)
Inventor
J·P·塞拉
H·J·李
W·马特拉尔
任淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Apple Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US18/423,187 external-priority patent/US12108012B2/en
Application filed by Apple Inc filed Critical Apple Inc
Publication of CN118555361A publication Critical patent/CN118555361A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • H04N7/157Conference systems defining a virtual conference space and using avatars or agents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本公开涉及多用户通信会话中管理空间状态和显示模式的系统和方法。本公开的一些示例涉及用于促进包括第一电子设备和第二电子设备的多通信会话中内容和化身的显示的系统和方法。在一些示例中,第一电子设备呈现包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境,其中基于第一组显示参数满足第一组标准来呈现计算机生成的环境,第一组显示参数包括用于第二电子设备的用户的空间参数、用于第一对象的空间参数以及用于第一对象的显示模式参数。响应于检测到第一组显示参数中的一个或多个显示参数的变化,第一电子设备根据第一组显示参数的一个或多个变化来更新计算机生成的环境的呈现。

The present disclosure relates to systems and methods for managing spatial states and display modes in a multi-user communication session. Some examples of the present disclosure relate to systems and methods for facilitating the display of content and avatars in a multi-communication session including a first electronic device and a second electronic device. In some examples, a first electronic device presents a computer-generated environment including an avatar and a first object corresponding to a user of a second electronic device, wherein the computer-generated environment is presented based on a first set of display parameters satisfying a first set of criteria, the first set of display parameters including spatial parameters for the user of the second electronic device, spatial parameters for the first object, and display mode parameters for the first object. In response to detecting a change in one or more display parameters in the first set of display parameters, the first electronic device updates the presentation of the computer-generated environment according to the one or more changes in the first set of display parameters.

Description

多用户通信会话中管理空间状态和显示模式的系统和方法System and method for managing spatial state and display mode in a multi-user communication session

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本申请要求于2023年2月27日提交的美国临时申请第63/487,244号、于2023年6月1日提交的美国临时申请第63/505,522号、于2023年7月21日提交的美国临时申请第63/515,080号、于2023年10月2日提交的美国临时申请第63/587,448号以及于2024年1月25日提交的美国专利申请第18/423,187号的权益,这些申请的内容全文以引用方式并入本文用于所有目的。This application claims the benefit of U.S. Provisional Application No. 63/487,244 filed on February 27, 2023, U.S. Provisional Application No. 63/505,522 filed on June 1, 2023, U.S. Provisional Application No. 63/515,080 filed on July 21, 2023, U.S. Provisional Application No. 63/587,448 filed on October 2, 2023, and U.S. Patent Application No. 18/423,187 filed on January 25, 2024, the contents of which are incorporated herein by reference in their entirety for all purposes.

技术领域Technical Field

本发明整体涉及管理多用户通信会话内的化身的空间状态和显示模式的系统和方法。The present invention generally relates to systems and methods for managing the spatial state and display mode of avatars within a multi-user communication session.

背景技术Background Art

一些计算机图形环境提供二维和/或三维环境,其中被显示供用户观察的至少一些对象是虚拟的并且由计算机生成。在一些示例中,三维环境由在多用户通信会话中通信的多个设备呈现。在一些示例中,参与多用户通信会话(例如,经由计算设备)的每个用户的化身(例如,表示)被显示在多用户通信会话的三维环境中。在一些示例中,内容可在三维环境中共享以供参与多用户通信会话的多个用户观看和交互。Some computer graphics environments provide two-dimensional and/or three-dimensional environments in which at least some of the objects displayed for user observation are virtual and computer-generated. In some examples, the three-dimensional environment is presented by multiple devices communicating in a multi-user communication session. In some examples, an avatar (e.g., a representation) of each user participating in the multi-user communication session (e.g., via a computing device) is displayed in the three-dimensional environment of the multi-user communication session. In some examples, content can be shared in the three-dimensional environment for viewing and interaction by multiple users participating in the multi-user communication session.

发明内容Summary of the invention

本公开的一些示例涉及用于促进多通信会话中内容和化身的显示的系统和方法。在一些示例中,第一电子设备处于与第二电子设备的通信会话中,其中第一电子设备和第二电子设备被配置为呈现计算机生成的环境。在一些示例中,第一电子设备呈现包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境,其中基于第一组显示参数满足第一组标准来呈现计算机生成的环境。在一些示例中,第一组显示参数包括用于第二电子设备的用户的空间参数、用于第一对象的空间参数以及用于第一对象的显示模式参数。在一些示例中,当显示包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境时,第一电子设备检测第一组显示参数中的一个或多个显示参数的变化。在一些实施方案中,响应于检测到变化,根据对第一组显示参数中的该一个或多个显示参数的变化使得第一组显示参数满足与第一组标准不同的第二组标准的确定,根据第一组显示参数的一个或多个变化,第一电子设备更新计算机生成的环境的呈现。在一些示例中,第一电子设备在计算机生成的环境中移动第一对象或改变第一对象的显示状态。在一些示例中,第一电子设备移动与第二电子设备的用户相对应的化身或停止化身在计算机生成的环境中的显示。在一些示例中,根据对第一组显示参数中的该一个或多个显示参数的变化不使得第一组显示参数满足第二组标准的确定,第一电子设备基于第一组显示参数满足第一组标准来维持计算机生成的环境的呈现。Some examples of the present disclosure relate to systems and methods for facilitating the display of content and avatars in multiple communication sessions. In some examples, a first electronic device is in a communication session with a second electronic device, wherein the first electronic device and the second electronic device are configured to present a computer-generated environment. In some examples, the first electronic device presents a computer-generated environment including an avatar and a first object corresponding to a user of the second electronic device, wherein the computer-generated environment is presented based on a first set of display parameters satisfying a first set of standards. In some examples, the first set of display parameters includes space parameters for the user of the second electronic device, space parameters for the first object, and display mode parameters for the first object. In some examples, when displaying a computer-generated environment including an avatar and a first object corresponding to a user of the second electronic device, the first electronic device detects a change in one or more display parameters in the first set of display parameters. In some embodiments, in response to detecting a change, according to a determination that a change in the one or more display parameters in the first set of display parameters makes the first set of display parameters satisfy a second set of standards different from the first set of standards, the first electronic device updates the presentation of the computer-generated environment according to one or more changes in the first set of display parameters. In some examples, the first electronic device moves the first object or changes the display state of the first object in the computer-generated environment. In some examples, the first electronic device moves an avatar corresponding to a user of the second electronic device or ceases display of the avatar in the computer-generated environment. In some examples, based on a determination that a change in the one or more display parameters in the first set of display parameters does not cause the first set of display parameters to satisfy the second set of criteria, the first electronic device maintains presentation of the computer-generated environment based on the first set of display parameters satisfying the first set of criteria.

在一些示例中,如果空间实况被启用,用于第一对象的空间参数将用于第一对象的空间模板定义为第一空间模板,且/或第一对象在通信会话中在计算机生成的环境中以非排他性模式显示,则第一组显示参数满足第一组标准。在一些示例中,如果空间实况被禁用,用于第一对象的空间参数将空间模板定义为第二空间模板,且/或第一对象在通信会话中在计算机生成的环境中以排他性模式显示,则第一组显示参数满足第二组标准。In some examples, if spatial live is enabled, the spatial parameters for the first object define the spatial template for the first object as the first spatial template, and/or the first object is displayed in a non-exclusive mode in the computer-generated environment in the communication session, then the first set of display parameters meets the first set of criteria. In some examples, if spatial live is disabled, the spatial parameters for the first object define the spatial template as the second spatial template, and/or the first object is displayed in an exclusive mode in the computer-generated environment in the communication session, then the first set of display parameters meets the second set of criteria.

附图和具体实施方式中提供了对这些示例的全面描述,应当理解,本发明内容不以任何方式限制本公开的范围。A comprehensive description of these examples is provided in the drawings and detailed description, and it should be understood that this summary does not limit the scope of the present disclosure in any way.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更好地理解本文所述的各种示例,应当参考下面的具体实施方式及以下附图。在整个附图中,相似的附图标号通常指代对应部件。For a better understanding of the various examples described herein, reference should be made to the following detailed description and the following drawings. Throughout the drawings, like reference numerals generally refer to corresponding parts.

图1示出了根据本公开的一些示例的呈现扩展现实环境的电子设备。FIG. 1 illustrates an electronic device presenting an extended reality environment according to some examples of the present disclosure.

图2示出了根据本公开的一些示例的系统的示例性架构的框图。FIG2 shows a block diagram of an exemplary architecture of a system according to some examples of the present disclosure.

图3示出了根据本公开的一些示例的包括第一电子设备和第二电子设备的多用户通信会话的示例。3 illustrates an example of a multi-user communication session including a first electronic device and a second electronic device according to some examples of the present disclosure.

图4示出了根据本公开的一些示例的被配置为便于多用户通信会话的通信应用程序的示例性架构的框图。4 illustrates a block diagram of an exemplary architecture of a communication application configured to facilitate multi-user communication sessions according to some examples of the present disclosure.

图5A至图5F示出了根据本公开的一些示例的多用户通信会话内的示例性交互。5A-5F illustrate exemplary interactions within a multi-user communication session according to some examples of the present disclosure.

图6A至图6L示出了根据本公开的一些示例的多用户通信会话内的示例性交互。6A-6L illustrate exemplary interactions within a multi-user communication session according to some examples of the present disclosure.

图7A至图7B示出了根据本公开的一些示例的示出用于基于一个或多个显示参数在多用户通信会话内显示内容的示例性过程的流程图。7A-7B show flow diagrams illustrating exemplary processes for displaying content within a multi-user communication session based on one or more display parameters, according to some examples of the present disclosure.

具体实施方式DETAILED DESCRIPTION

本公开的一些示例涉及用于促进多通信会话中内容和化身的显示的系统和方法。在一些示例中,第一电子设备处于与第二电子设备的通信会话中,其中第一电子设备和第二电子设备被配置为呈现计算机生成的环境。在一些示例中,第一电子设备呈现包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境,其中基于第一组显示参数满足第一组标准来呈现计算机生成的环境。在一些示例中,第一组显示参数包括用于第二电子设备的用户的空间参数、用于第一对象的空间参数以及用于第一对象的显示模式参数。在一些示例中,当显示包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境时,第一电子设备检测第一组显示参数中的一个或多个显示参数的变化。在一些实施方案中,响应于检测到变化,根据对第一组显示参数中的该一个或多个显示参数的变化使得第一组显示参数满足与第一组标准不同的第二组标准的确定,根据第一组显示参数的一个或多个变化,第一电子设备更新计算机生成的环境的呈现。在一些示例中,第一电子设备在计算机生成的环境中移动第一对象或改变第一对象的显示状态。在一些示例中,第一电子设备移动与第二电子设备的用户相对应的化身或停止化身在计算机生成的环境中的显示。在一些示例中,根据对第一组显示参数中的该一个或多个显示参数的变化不使得第一组显示参数满足第二组标准的确定,第一电子设备基于第一组显示参数满足第一组标准来维持计算机生成的环境的呈现。Some examples of the present disclosure relate to systems and methods for facilitating the display of content and avatars in multiple communication sessions. In some examples, a first electronic device is in a communication session with a second electronic device, wherein the first electronic device and the second electronic device are configured to present a computer-generated environment. In some examples, the first electronic device presents a computer-generated environment including an avatar and a first object corresponding to a user of the second electronic device, wherein the computer-generated environment is presented based on a first set of display parameters satisfying a first set of standards. In some examples, the first set of display parameters includes space parameters for the user of the second electronic device, space parameters for the first object, and display mode parameters for the first object. In some examples, when displaying a computer-generated environment including an avatar and a first object corresponding to a user of the second electronic device, the first electronic device detects a change in one or more display parameters in the first set of display parameters. In some embodiments, in response to detecting a change, according to a determination that a change in the one or more display parameters in the first set of display parameters makes the first set of display parameters satisfy a second set of standards different from the first set of standards, the first electronic device updates the presentation of the computer-generated environment according to one or more changes in the first set of display parameters. In some examples, the first electronic device moves the first object or changes the display state of the first object in the computer-generated environment. In some examples, the first electronic device moves an avatar corresponding to a user of the second electronic device or ceases display of the avatar in the computer-generated environment. In some examples, based on a determination that a change in the one or more display parameters in the first set of display parameters does not cause the first set of display parameters to satisfy the second set of criteria, the first electronic device maintains presentation of the computer-generated environment based on the first set of display parameters satisfying the first set of criteria.

在一些示例中,如果空间实况被启用,用于第一对象的空间参数将用于第一对象的空间模板定义为第一空间模板,且/或第一对象在通信会话中在计算机生成的环境中以非排他性模式显示,则第一组显示参数满足第一组标准。在一些示例中,如果空间实况被禁用,用于第一对象的空间参数将空间模板定义为第二空间模板,且/或第一对象在通信会话中在计算机生成的环境中以排他性模式显示,则第一组显示参数满足第二组标准。In some examples, if spatial live is enabled, the spatial parameters for the first object define the spatial template for the first object as the first spatial template, and/or the first object is displayed in a non-exclusive mode in the computer-generated environment in the communication session, then the first set of display parameters meets the first set of criteria. In some examples, if spatial live is disabled, the spatial parameters for the first object define the spatial template as the second spatial template, and/or the first object is displayed in an exclusive mode in the computer-generated environment in the communication session, then the first set of display parameters meets the second set of criteria.

在一些示例中,多用户通信会话中的空间组或状态代表指示位于空间组中的用户和内容的位置的空间布置/模板。在一些示例中,多用户通信会话内的相同空间组中的用户根据空间组的空间布置体验空间实况。在一些示例中,当第一电子设备的用户在多用户通信会话中的第一空间组中并且第二电子设备的用户在多用户通信会话中的第二空间组中时,用户体验对于其相应空间组本地化的空间实况。在一些示例中,当第一电子设备的用户和第二电子设备的用户被分组到多用户通信会话内的单独空间组或状态中时,如果第一电子设备和第二电子设备返回到相同操作状态,则第一电子设备的用户和第二电子设备的用户被重新分组到多用户通信会话内的相同空间组中。In some examples, a spatial group or state in a multi-user communication session represents a spatial arrangement/template indicating the locations of users and content located in the spatial group. In some examples, users in the same spatial group within a multi-user communication session experience spatial reality according to the spatial arrangement of the spatial group. In some examples, when a user of a first electronic device is in a first spatial group in a multi-user communication session and a user of a second electronic device is in a second spatial group in the multi-user communication session, the users experience spatial reality localized for their respective spatial groups. In some examples, when a user of a first electronic device and a user of a second electronic device are grouped into separate spatial groups or states within a multi-user communication session, if the first electronic device and the second electronic device return to the same operating state, the user of the first electronic device and the user of the second electronic device are regrouped into the same spatial group within the multi-user communication session.

在一些示例中,当处于多用户通信会话中时在三维环境中显示内容可包括与一个或多个用户界面元素的交互。在一些示例中,用户的目光可由电子设备跟踪,作为用于瞄准在三维环境中显示的相应用户界面元素内的可选择选项/示能表示的输入。例如,目光可用于识别使用另一选择输入选择为目标的一个或多个选项/示能表示。在一些示例中,可使用经由与电子设备通信的输入设备检测到的手部跟踪输入来选择相应选项/示能表示。在一些示例中,在三维环境中显示的对象可根据经由输入设备检测到的移动输入而在三维环境中移动和/或重新取向。In some examples, displaying content in a three-dimensional environment while in a multi-user communication session may include interaction with one or more user interface elements. In some examples, a user's gaze may be tracked by an electronic device as an input for targeting selectable options/indicators within a corresponding user interface element displayed in the three-dimensional environment. For example, gaze may be used to identify one or more options/indicators selected as a target using another selection input. In some examples, hand tracking input detected via an input device that communicates with the electronic device may be used to select a corresponding option/indicator. In some examples, objects displayed in the three-dimensional environment may be moved and/or reoriented in the three-dimensional environment based on movement input detected via the input device.

图1示出了根据本公开的一些示例的呈现扩展现实(XR)环境(例如,计算机生成的环境)的电子设备101。在一些示例中,电子设备101为手持式设备或移动设备,诸如平板电脑、膝上型计算机、智能电话或头戴式显示器。下面参考图2的架构框图来描述设备101的示例。如图1所示,电子设备101、桌子106和咖啡杯152位于物理环境100中。物理环境可包括物理特征,诸如物理表面(例如,地板、墙壁)或物理对象(例如,桌子、灯等)。在一些示例中,电子设备101可被配置为捕获包括桌子106和咖啡杯152的物理环境100的图像(在电子设备101的视场中示出)。在一些示例中,响应于触发,电子设备101可被配置为在计算机生成的环境(例如,由图1所示的矩形表示)中显示虚拟对象110(例如,二维虚拟内容),该虚拟对象不存在于物理环境100中,但显示在位于(例如,锚定到)真实世界桌子106的计算机生成的表示106'的顶部的计算机生成的环境中。例如,响应于检测到物理环境100中的桌子106的平坦表面,虚拟对象110可显示在计算机生成的环境中的桌子的计算机生成的表示106'的表面上,紧挨着经由设备101显示的真实世界咖啡杯152的计算机生成的表示152'。Figure 1 shows an electronic device 101 that presents an extended reality (XR) environment (e.g., a computer-generated environment) according to some examples of the present disclosure. In some examples, the electronic device 101 is a handheld device or a mobile device, such as a tablet, a laptop, a smart phone, or a head-mounted display. An example of the device 101 is described below with reference to the architectural block diagram of Figure 2. As shown in Figure 1, the electronic device 101, the table 106, and the coffee cup 152 are located in a physical environment 100. The physical environment may include physical features, such as physical surfaces (e.g., floors, walls) or physical objects (e.g., tables, lights, etc.). In some examples, the electronic device 101 may be configured to capture an image of the physical environment 100 including the table 106 and the coffee cup 152 (shown in the field of view of the electronic device 101). In some examples, in response to a trigger, the electronic device 101 may be configured to display a virtual object 110 (e.g., two-dimensional virtual content) in a computer-generated environment (e.g., represented by a rectangle shown in FIG. 1 ) that does not exist in the physical environment 100 but is displayed in the computer-generated environment on top of (e.g., anchored to) a computer-generated representation 106' of a real-world table 106. For example, in response to detecting a flat surface of the table 106 in the physical environment 100, the virtual object 110 may be displayed on the surface of the computer-generated representation 106' of the table in the computer-generated environment, next to a computer-generated representation 152' of a real-world coffee cup 152 displayed via the device 101.

应当理解,虚拟对象110是代表性的虚拟对象,并且可以在三维计算机生成的环境中包括并且渲染一个或多个不同的虚拟对象(例如,具有各种维度的虚拟对象,诸如二维或三维虚拟对象)。例如,虚拟对象可表示在计算机生成的环境中显示的应用程序或用户界面。在一些示例中,虚拟对象可表示与应用程序相对应和/或在计算机生成的环境中经由用户界面显示的内容。在一些示例中,虚拟对象110任选地被配置为交互式的并且响应于用户输入,使得用户可以虚拟地触摸、轻击、移动、旋转或以其他方式与虚拟对象交互。在一些示例中,虚拟对象110可显示在多用户通信会话(“多用户通信会话”、“通信会话”)内的三维计算机生成的环境中。在一些此类示例中,如下文更详细地描述的,虚拟对象110可以是可观看的和/或被配置为交互式的并且分别响应于多个用户和/或由多个用户提供的用户输入。另外,应当理解,本文所述的3D环境(或3D虚拟对象)可以是在电子设备处投影或呈现的3D环境(或三维虚拟对象)的表示。It should be understood that the virtual object 110 is a representative virtual object and may include and render one or more different virtual objects (e.g., virtual objects with various dimensions, such as two-dimensional or three-dimensional virtual objects) in a three-dimensional computer-generated environment. For example, a virtual object may represent an application or user interface displayed in a computer-generated environment. In some examples, a virtual object may represent content corresponding to an application and/or displayed via a user interface in a computer-generated environment. In some examples, the virtual object 110 is optionally configured to be interactive and responsive to user input, so that a user can virtually touch, tap, move, rotate, or otherwise interact with the virtual object. In some examples, the virtual object 110 may be displayed in a three-dimensional computer-generated environment within a multi-user communication session ("multi-user communication session", "communication session"). In some such examples, as described in more detail below, the virtual object 110 may be viewable and/or configured to be interactive and responsive to multiple users and/or user input provided by multiple users, respectively. In addition, it should be understood that the 3D environment (or 3D virtual object) described herein may be a representation of a 3D environment (or three-dimensional virtual object) projected or presented at an electronic device.

在以下讨论中,描述了与显示生成部件和一个或多个输入设备通信的电子设备。应当理解,电子设备任选地与一个或多个其他物理用户界面设备通信,诸如触敏表面、物理键盘、鼠标、操纵杆、手部跟踪设备、眼睛跟踪设备、触笔等。此外,如上所述,应当理解,所描述的电子设备、显示器和触敏表面任选地分布在两个或更多个设备之间。因此,如本公开所用,在电子设备上或由电子设备显示的信息任选地用于描述由电子设备输出以在独立的显示设备(触敏或非触敏)上显示的信息。类似地,如本公开所用,在电子设备上接收的输入(例如,在电子设备的触敏表面上接收的触摸输入,或者在触笔的表面上接收的触摸输入)任选地用于描述在独立的输入设备上接收的输入,电子设备从该独立的输入设备接收输入信息。In the following discussion, an electronic device that communicates with a display generation component and one or more input devices is described. It should be understood that the electronic device optionally communicates with one or more other physical user interface devices, such as a touch-sensitive surface, a physical keyboard, a mouse, a joystick, a hand tracking device, an eye tracking device, a stylus, etc. In addition, as described above, it should be understood that the described electronic device, display, and touch-sensitive surface are optionally distributed between two or more devices. Therefore, as used in the present disclosure, information displayed on or by an electronic device is optionally used to describe information output by the electronic device to be displayed on an independent display device (touch-sensitive or non-touch-sensitive). Similarly, as used in the present disclosure, input received on an electronic device (e.g., touch input received on a touch-sensitive surface of an electronic device, or touch input received on the surface of a stylus) is optionally used to describe input received on an independent input device, and the electronic device receives input information from the independent input device.

该设备通常支持多种应用程序,诸如以下应用程序中的一个或多个应用程序:绘图应用程序、呈现应用程序、文字处理应用程序、网站创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、健身支持应用程序、照片管理应用程序、数字相机应用程序、数字视频相机应用程序、Web浏览应用程序、数字音乐播放器应用程序、电视频道浏览应用程序、和/或数字视频播放器应用程序。The device typically supports a variety of applications, such as one or more of the following applications: a drawing application, a presentation application, a word processing application, a website creation application, a disk editing application, a spreadsheet application, a gaming application, a telephony application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, a television channel browsing application, and/or a digital video player application.

图2示出了根据本公开的一些示例的系统201的示例性架构的框图。在一些示例中,系统201包括多个设备。例如,系统201包括第一电子设备260和第二电子设备270,其中第一电子设备260和第二电子设备270彼此通信。在一些示例中,第一电子设备260和第二电子设备270是便携式设备,诸如分别为移动电话、智能电话、平板电脑、膝上型计算机、与另一设备通信的辅助设备等。FIG2 shows a block diagram of an exemplary architecture of a system 201 according to some examples of the present disclosure. In some examples, the system 201 includes multiple devices. For example, the system 201 includes a first electronic device 260 and a second electronic device 270, wherein the first electronic device 260 and the second electronic device 270 communicate with each other. In some examples, the first electronic device 260 and the second electronic device 270 are portable devices, such as mobile phones, smart phones, tablet computers, laptop computers, auxiliary devices that communicate with another device, etc.

如图2所示,第一电子设备260任选地包括各种传感器(例如,一个或多个手部跟踪传感器202A、一个或多个位置传感器204A、一个或多个图像传感器206A、一个或多个触敏表面209A、一个或多个运动和/或取向传感器210A、一个或多个眼睛跟踪传感器212A、一个或多个麦克风213A或其他音频传感器等)、一个或多个显示生成部件214A、一个或多个扬声器216A、一个或多个处理器218A、一个或多个存储器220A和/或通信电路222A。在一些示例中,第二设备270任选地包括各种传感器(例如,一个或多个手部跟踪传感器202B、一个或多个位置传感器204B、一个或多个图像传感器206B、一个或多个触敏表面209B、一个或多个运动和/或取向传感器210B、一个或多个眼睛跟踪传感器212B、一个或多个麦克风213B或其他音频传感器等)、一个或多个显示生成部件214B、一个或多个扬声器216、一个或多个处理器218B、一个或多个存储器220B和/或通信电路222B。一个或多个通信总线208A和208B任选地分别用于设备260和270的上述部件之间的通信。第一电子设备260和第二电子设备270任选地经由两个设备之间的有线或无线连接(例如,经由通信电路222A至222B)进行通信。As shown in FIG2 , the first electronic device 260 optionally includes various sensors (e.g., one or more hand tracking sensors 202A, one or more position sensors 204A, one or more image sensors 206A, one or more touch-sensitive surfaces 209A, one or more motion and/or orientation sensors 210A, one or more eye tracking sensors 212A, one or more microphones 213A or other audio sensors, etc.), one or more display generation components 214A, one or more speakers 216A, one or more processors 218A, one or more memories 220A, and/or communication circuits 222A. In some examples, the second device 270 optionally includes various sensors (e.g., one or more hand tracking sensors 202B, one or more position sensors 204B, one or more image sensors 206B, one or more touch-sensitive surfaces 209B, one or more motion and/or orientation sensors 210B, one or more eye tracking sensors 212B, one or more microphones 213B or other audio sensors, etc.), one or more display generation components 214B, one or more speakers 216, one or more processors 218B, one or more memories 220B, and/or communication circuits 222B. One or more communication buses 208A and 208B are optionally used for communication between the above components of devices 260 and 270, respectively. First electronic device 260 and second electronic device 270 optionally communicate via a wired or wireless connection between the two devices (eg, via communication circuits 222A-222B).

通信电路222A、222B任选地包括用于与电子设备、网络(诸如互联网、内联网、有线网络和/或无线网络、蜂窝网络和无线局域网(LAN))通信的电路。通信电路222A、222B任选地包括用于使用近场通信(NFC)和/或短程通信诸如进行通信的电路。The communication circuits 222A, 222B optionally include circuits for communicating with electronic devices, networks such as the Internet, intranets, wired networks and/or wireless networks, cellular networks, and wireless local area networks (LANs). The communication circuits 222A, 222B optionally include circuits for using near field communication (NFC) and/or short-range communication such as A circuit for communication.

处理器218A、218B包括一个或多个通用处理器、一个或多个图形处理器和/或一个或多个数字信号处理器。在一些示例中,存储器220A、220B是存储计算机可读指令的非暂态计算机可读存储介质(例如,闪存存储器、随机存取存储器,或其他易失性或非易失性存储器或存储装置),这些计算机可读指令被配置为由处理器218A、218B执行以执行下文描述的技术、过程和/或方法。在一些示例中,存储器220A、220B可包括多于一个非暂态计算机可读存储介质。非暂态计算机可读存储介质可以是可有形地包含或存储计算机可执行指令以供指令执行系统、装置和设备使用或与其结合的任何介质(例如,不包括信号)。在一些示例中,存储介质是暂态计算机可读存储介质。在一些示例中,存储介质是非暂态计算机可读存储介质。非暂态计算机可读存储介质可包括但不限于磁存储装置、光学存储装置、和/或半导体存储装置。此类存储装置的示例包括磁盘、基于CD、DVD或蓝光技术的光盘,以及持久性固态存储器诸如闪存、固态驱动器等。Processors 218A, 218B include one or more general purpose processors, one or more graphics processors, and/or one or more digital signal processors. In some examples, memory 220A, 220B is a non-transitory computer-readable storage medium (e.g., flash memory, random access memory, or other volatile or non-volatile memory or storage device) storing computer-readable instructions, which are configured to be executed by processors 218A, 218B to perform the techniques, processes, and/or methods described below. In some examples, memory 220A, 220B may include more than one non-transitory computer-readable storage medium. A non-transitory computer-readable storage medium may be any medium (e.g., excluding signals) that can tangibly contain or store computer-executable instructions for use by or in combination with an instruction execution system, device, and apparatus. In some examples, the storage medium is a transient computer-readable storage medium. In some examples, the storage medium is a non-transitory computer-readable storage medium. A non-transitory computer-readable storage medium may include, but is not limited to, a magnetic storage device, an optical storage device, and/or a semiconductor storage device. Examples of such storage devices include magnetic disks, optical disks based on CD, DVD or Blu-ray technology, and persistent solid-state memory such as flash memory, solid-state drives, or the like.

在一些示例中,显示生成部件214A、214B包括单个显示器(例如,液晶显示器(LCD)、有机发光二极管(OLED)或其他类型的显示器)。在一些示例中,显示生成部件214A、214B包括多个显示器。在一些示例中,显示生成部件214A、214B可包括具有触摸能力(例如,触摸屏)的显示器、投影仪、全息投影仪、视网膜投影仪、透明或半透明显示器等。在一些示例中,设备260和270分别包括用于接收用户输入诸如轻击输入和轻扫输入或其他手势的触敏表面209A和209B。在一些示例中,显示生成部件214A、214B和触敏表面209A、209B形成触敏显示器(例如,分别与设备260和270集成的触摸屏或分别在设备260和270外部的与设备260和270通信的触摸屏)。In some examples, display generation components 214A, 214B include a single display (e.g., a liquid crystal display (LCD), an organic light emitting diode (OLED), or other type of display). In some examples, display generation components 214A, 214B include multiple displays. In some examples, display generation components 214A, 214B may include a display with touch capabilities (e.g., a touch screen), a projector, a holographic projector, a retinal projector, a transparent or translucent display, etc. In some examples, devices 260 and 270 include touch-sensitive surfaces 209A and 209B, respectively, for receiving user inputs such as tap inputs and swipe inputs or other gestures. In some examples, display generation components 214A, 214B and touch-sensitive surfaces 209A, 209B form a touch-sensitive display (e.g., a touch screen integrated with devices 260 and 270, respectively, or a touch screen external to devices 260 and 270, respectively, that communicates with devices 260 and 270).

设备260和270任选地分别包括图像传感器206A和206B。图像传感器206A/206B任选地包括一个或多个可见光图像传感器(诸如电荷耦合器件(CCD)传感器)和/或可操作以从真实世界环境获得物理对象的图像的互补金属氧化物半导体(CMOS)传感器。图像传感器206A/206B还任选地包括一个或多个红外(IR)传感器,诸如无源IR传感器或有源IR传感器,用于检测来自真实世界环境的红外光。例如,有源IR传感器包括用于将红外光发射到真实世界环境中的IR发射器。图像传感器206A/206B还任选地包括一个或多个相机,该一个或多个相机被配置为捕获物理对象在真实世界环境中的移动。图像传感器206A/206B还任选地包括一个或多个深度传感器,该一个或多个深度传感器被配置为检测物理对象与设备260/270的距离。在一些示例中,来自一个或多个深度传感器的信息可以允许设备标识真实世界环境中的对象并且将其与真实世界环境中的其他对象区分开。在一些示例中,一个或多个深度传感器可以允许设备确定真实世界环境中的对象的纹理和/或形貌。Devices 260 and 270 optionally include image sensors 206A and 206B, respectively. Image sensors 206A/206B optionally include one or more visible light image sensors (such as a charge coupled device (CCD) sensor) and/or a complementary metal oxide semiconductor (CMOS) sensor operable to obtain an image of a physical object from a real-world environment. Image sensors 206A/206B also optionally include one or more infrared (IR) sensors, such as a passive IR sensor or an active IR sensor, for detecting infrared light from the real-world environment. For example, an active IR sensor includes an IR emitter for emitting infrared light into the real-world environment. Image sensors 206A/206B also optionally include one or more cameras configured to capture the movement of physical objects in the real-world environment. Image sensors 206A/206B also optionally include one or more depth sensors configured to detect the distance of physical objects from device 260/270. In some examples, information from one or more depth sensors may allow a device to identify an object in a real-world environment and distinguish it from other objects in the real-world environment. In some examples, one or more depth sensors may allow a device to determine the texture and/or topography of an object in a real-world environment.

在一些示例中,设备260和270组合地使用CCD传感器、事件相机和深度传感器来检测设备260和270周围的物理环境。在一些示例中,图像传感器206A/206B包括第一图像传感器和第二图像传感器。第一图像传感器和第二图像传感器协力地工作,并且任选地被配置为捕获真实世界环境中的物理对象的不同信息。在一些示例中,第一图像传感器是可见光图像传感器,并且第二图像传感器是深度传感器。在一些示例中,设备260/270使用图像传感器206A/206B来检测设备260/270和/或显示生成部件214A/214B在真实世界环境中的位置和取向。例如,设备260/270使用图像传感器206A/206B来跟踪显示生成部件214A/214B相对于真实世界环境中的一个或多个固定对象的位置和取向。In some examples, devices 260 and 270 use CCD sensors, event cameras, and depth sensors in combination to detect the physical environment around devices 260 and 270. In some examples, image sensors 206A/206B include a first image sensor and a second image sensor. The first image sensor and the second image sensor work in tandem and are optionally configured to capture different information of physical objects in a real-world environment. In some examples, the first image sensor is a visible light image sensor, and the second image sensor is a depth sensor. In some examples, devices 260/270 use image sensors 206A/206B to detect the position and orientation of devices 260/270 and/or display generation components 214A/214B in a real-world environment. For example, devices 260/270 use image sensors 206A/206B to track the position and orientation of display generation components 214A/214B relative to one or more fixed objects in a real-world environment.

在一些示例中,设备260/270包括麦克风213A/213B或其他音频传感器。设备260/270使用麦克风213A/213B来检测来自用户和/或用户的真实世界环境的声音。在一些示例中,麦克风213A/213B包括任选地协力地操作的麦克风阵列(多个麦克风),以便识别环境噪声或定位真实世界环境的空间中的声源。In some examples, device 260/270 includes microphone 213A/213B or other audio sensor. Device 260/270 uses microphone 213A/213B to detect sounds from the user and/or the user's real-world environment. In some examples, microphone 213A/213B includes a microphone array (multiple microphones) that optionally operate in concert to identify ambient noise or locate sound sources in the space of the real-world environment.

在一些示例中,设备260/270包括用于检测设备260/270和/或显示生成部件214A/214B的位置的位置传感器204A/204B。例如,位置传感器204A/204B可包括从一个或多个卫星接收数据并且允许设备260/270确定该设备在物理世界中的绝对位置的GPS接收器。In some examples, the device 260/270 includes a location sensor 204A/204B for detecting the location of the device 260/270 and/or the display generating component 214A/214B. For example, the location sensor 204A/204B may include a GPS receiver that receives data from one or more satellites and allows the device 260/270 to determine the absolute location of the device in the physical world.

在一些示例中,设备260/270包括用于检测设备260/270和/或显示生成部件214A/214B的取向和/或移动的取向传感器210A/210B。例如,设备260/270使用取向传感器210A/210B来跟踪设备260/270和/或显示生成部件214A/214B的位置和/或取向的变化,诸如相对于真实世界环境中的物理对象的变化。取向传感器210A/210B任选地包括一个或多个陀螺仪和/或一个或多个加速度计。In some examples, the device 260/270 includes an orientation sensor 210A/210B for detecting the orientation and/or movement of the device 260/270 and/or the display generation component 214A/214B. For example, the device 260/270 uses the orientation sensor 210A/210B to track changes in the position and/or orientation of the device 260/270 and/or the display generation component 214A/214B, such as changes relative to physical objects in the real world environment. The orientation sensor 210A/210B optionally includes one or more gyroscopes and/or one or more accelerometers.

在一些示例中,设备260/270包括手部跟踪传感器202A/202B和/或眼睛跟踪传感器212A/212B。手部跟踪传感器202A/202B被配置为跟踪用户的手部的一个或多个部分的位置/地点,和/或用户的手部的一个或多个部分相对于扩展现实环境、相对于显示生成部件214A/214B和/或相对于另一限定的坐标系的运动。眼睛跟踪传感器212A/212B被配置为跟踪用户的目光(更一般地,眼睛、面部或头部)相对于真实世界或扩展现实环境和/或相对于显示生成部件214A/214B的位置和移动。在一些示例中,手部跟踪传感器202A/202B和/或眼睛跟踪传感器212A/212B与显示生成部件214A/214B一起实施。在一些示例中,手部跟踪传感器202A/202B和/或眼睛跟踪传感器212A/212B与显示生成部件214A/214B分开实施。In some examples, device 260/270 includes hand tracking sensor 202A/202B and/or eye tracking sensor 212A/212B. Hand tracking sensor 202A/202B is configured to track the position/location of one or more parts of a user's hand and/or the movement of one or more parts of a user's hand relative to an extended reality environment, relative to display generation component 214A/214B and/or relative to another defined coordinate system. Eye tracking sensor 212A/212B is configured to track the position and movement of a user's gaze (more generally, eyes, face, or head) relative to the real world or extended reality environment and/or relative to display generation component 214A/214B. In some examples, hand tracking sensor 202A/202B and/or eye tracking sensor 212A/212B is implemented together with display generation component 214A/214B. In some examples, hand tracking sensors 202A/202B and/or eye tracking sensors 212A/212B are implemented separately from display generation components 214A/214B.

在一些示例中,手部跟踪传感器202A/202B可以使用从包括一只或多只手(例如,人类用户的一只或多只手)的真实世界捕获三维信息的图像传感器206A/206B(例如,一个或多个IR相机、3D相机、深度相机等)。在一些示例中,可以用足够的分辨率来分辨手部,以区分手指及其相应的定位。在一些示例中,一个或多个图像传感器206A/206B相对于用户定位以限定图像传感器206A/206B的视场和交互空间,在该交互空间中,由图像传感器捕获的手指/手部位置、取向和/或移动被用作输入(例如,以与用户的闲置手部或真实世界环境中的其他人的其他手部进行区分)。跟踪用于输入的手指/手部(例如,手势、触摸、轻击等)可能是有利的,因为这不需要用户触摸、握持或穿戴任何类型的信标、传感器或其他标记。In some examples, the hand tracking sensors 202A/202B may use image sensors 206A/206B (e.g., one or more IR cameras, 3D cameras, depth cameras, etc.) that capture three-dimensional information from the real world including one or more hands (e.g., one or more hands of a human user). In some examples, the hands may be resolved with sufficient resolution to distinguish fingers and their corresponding positioning. In some examples, one or more image sensors 206A/206B are positioned relative to the user to define a field of view and interaction space of the image sensors 206A/206B, in which the finger/hand positions, orientations, and/or movements captured by the image sensors are used as input (e.g., to distinguish from the user's idle hands or other hands of other people in the real-world environment). Tracking fingers/hands for input (e.g., gestures, touches, taps, etc.) may be advantageous because it does not require the user to touch, hold, or wear any type of beacon, sensor, or other marker.

在一些示例中,眼睛跟踪传感器212A/212B包括朝向用户的眼睛发射光的至少一个眼睛跟踪相机(例如,红外(IR)相机)和/或照明源(例如,IR光源,诸如LED)。眼睛跟踪相机可以指向用户的眼睛,以直接或间接地从眼睛接收来自光源的反射IR光。在一些示例中,通过相应的眼睛跟踪相机和照明源单独地跟踪两只眼睛,并且可通过跟踪两只眼睛来确定焦点/目光。在一些示例中,通过相应的眼睛跟踪相机/照明源来跟踪一只眼睛(例如,主眼)。In some examples, eye tracking sensors 212A/212B include at least one eye tracking camera (e.g., an infrared (IR) camera) and/or an illumination source (e.g., an IR light source such as an LED) that emits light toward the user's eyes. The eye tracking camera can be pointed at the user's eyes to receive reflected IR light from the light source directly or indirectly from the eyes. In some examples, both eyes are tracked separately by corresponding eye tracking cameras and illumination sources, and focus/gaze can be determined by tracking both eyes. In some examples, one eye (e.g., the dominant eye) is tracked by corresponding eye tracking camera/illumination source.

设备260/270和系统201不限于图2的部件和配置,而是可包括处于多种配置的更少的部件、其他的部件或另外部件。在一些示例中,系统201可以在单个设备中实施。使用系统201的一个或多个人在本文中任选地称为设备的一个或多个用户。现在将注意力转向三维环境在第一电子设备(例如,对应于设备260)和第二电子设备(例如,对应于设备270)上的示例性同时显示。如下所述,第一电子设备可以在多用户通信会话中与第二电子设备通信。在一些示例中,第一电子设备的用户的化身(例如,表示)可以显示在第二电子设备处的三维环境中,并且第二电子设备的用户的化身可以显示在第一电子设备处的三维环境中。在一些示例中,第一电子设备的用户和第二电子设备的用户可与多用户通信会话中的相同空间状态相关联。在一些示例中,当第一电子设备和第二电子设备处于多用户通信会话时的与三维环境中的内容的交互(或其他类型的交互)可使得第一电子设备的用户和第二电子设备的用户变得与多用户通信会话中的不同空间状态相关联。Device 260/270 and system 201 are not limited to the components and configurations of FIG. 2, but may include fewer components, other components, or additional components in a variety of configurations. In some examples, system 201 may be implemented in a single device. One or more people using system 201 are optionally referred to herein as one or more users of the device. Now turn your attention to the exemplary simultaneous display of a three-dimensional environment on a first electronic device (e.g., corresponding to device 260) and a second electronic device (e.g., corresponding to device 270). As described below, a first electronic device may communicate with a second electronic device in a multi-user communication session. In some examples, an avatar (e.g., representation) of a user of a first electronic device may be displayed in a three-dimensional environment at a second electronic device, and an avatar of a user of a second electronic device may be displayed in a three-dimensional environment at a first electronic device. In some examples, a user of a first electronic device and a user of a second electronic device may be associated with the same spatial state in a multi-user communication session. In some examples, an interaction (or other type of interaction) with content in a three-dimensional environment when a first electronic device and a second electronic device are in a multi-user communication session may cause a user of the first electronic device and a user of the second electronic device to become associated with different spatial states in a multi-user communication session.

图3示出了根据本公开的一些示例的包括第一电子设备360和第二电子设备370的多用户通信会话的示例。在一些示例中,第一电子设备360可呈现三维环境350A,并且第二电子设备370可呈现三维环境350B。第一电子设备360和第二电子设备370可以类似于设备101或260/270,和/或可以是被配置为生成和呈现三维环境的可头戴式系统/设备和/或基于投影的系统/设备(包括基于全息图的系统/设备),诸如分别是平视显示器(HUD)、头戴式显示器(HMD)、具有集成显示能力的窗口、形成为被设计成放置在人的眼睛上的透镜(例如,类似于接触透镜)的显示器。在图3的示例中,第一用户任选地穿戴第一电子设备360并且第二用户任选地穿戴第二电子设备370,使得三维环境350A/350B可由从电子设备的视角(例如,与电子设备360/370(其例如可以是头戴式显示器)相关联的视点)观看的X、Y和Z轴来限定。3 shows an example of a multi-user communication session including a first electronic device 360 and a second electronic device 370 according to some examples of the present disclosure. In some examples, the first electronic device 360 may present a three-dimensional environment 350A, and the second electronic device 370 may present a three-dimensional environment 350B. The first electronic device 360 and the second electronic device 370 may be similar to the device 101 or 260/270, and/or may be head-mounted systems/devices and/or projection-based systems/devices (including hologram-based systems/devices) configured to generate and present a three-dimensional environment, such as a head-up display (HUD), a head-mounted display (HMD), a window with integrated display capabilities, a display formed as a lens designed to be placed on a person's eye (e.g., similar to a contact lens), respectively. In the example of Figure 3, the first user optionally wears the first electronic device 360 and the second user optionally wears the second electronic device 370, so that the three-dimensional environment 350A/350B can be defined by the X, Y, and Z axes viewed from the perspective of the electronic devices (e.g., a viewpoint associated with the electronic devices 360/370 (which can be, for example, a head-mounted display)).

如图3所示,第一电子设备360可处于包括桌子306和窗口309的第一物理环境中。因此,使用第一电子设备360呈现的三维环境350A任选地包括围绕第一电子设备360的物理环境的捕获部分,诸如桌子的表示306'和窗口的表示309'。类似地,第二电子设备370可处于不同于第一物理环境(例如,与第一物理环境分开)的第二物理环境中,该第二物理环境包括落地灯307和咖啡桌308。因此,使用第二电子设备370来呈现的三维环境350B任选地包括围绕第二电子设备370的物理环境的捕获部分,诸如落地灯的表示307'和咖啡桌的表示308'。另外,三维环境350A和350B可包括第一电子设备360和第二电子设备370分别位于其中的房间的地板、天花板和墙壁的表示。As shown in FIG3 , the first electronic device 360 may be in a first physical environment including a table 306 and a window 309. Therefore, the three-dimensional environment 350A presented using the first electronic device 360 optionally includes a captured portion of the physical environment surrounding the first electronic device 360, such as a representation 306' of the table and a representation 309' of the window. Similarly, the second electronic device 370 may be in a second physical environment different from (e.g., separate from) the first physical environment, the second physical environment including a floor lamp 307 and a coffee table 308. Therefore, the three-dimensional environment 350B presented using the second electronic device 370 optionally includes a captured portion of the physical environment surrounding the second electronic device 370, such as a representation 307' of the floor lamp and a representation 308' of the coffee table. In addition, the three-dimensional environments 350A and 350B may include representations of the floor, ceiling, and walls of the rooms in which the first electronic device 360 and the second electronic device 370 are respectively located.

如上所述,在一些示例中,第一电子设备360任选地处于与第二电子设备370的多用户通信会话中。例如,第一电子设备360和第二电子设备370(例如,经由通信电路222A/222B)被配置为呈现包括一个或多个共享虚拟对象(例如,内容诸如图像、视频、音频等、应用程序的用户界面的表示等)的共享三维环境350A/350B。如本文所用,术语“共享三维环境”是指在两个或更多个电子设备处独立地呈现、显示和/或可见的三维环境,经由该三维环境,内容、应用程序、数据等可被共享和/或呈现给该两个或更多个电子设备的用户。在一些示例中,在第一电子设备360处于与第二电子设备370的多用户通信会话中时,与一个电子设备的用户相对应的化身被任选地显示在经由另一电子设备显示的三维环境中。例如,如图3所示,在第一电子设备360处,与第二电子设备370的用户相对应的化身315显示在三维环境350A中。类似地,在第二电子设备370处,与第一电子设备360的用户相对应的化身317显示在三维环境350B中。As described above, in some examples, the first electronic device 360 is optionally in a multi-user communication session with the second electronic device 370. For example, the first electronic device 360 and the second electronic device 370 (e.g., via the communication circuit 222A/222B) are configured to present a shared three-dimensional environment 350A/350B including one or more shared virtual objects (e.g., content such as images, videos, audio, etc., representations of user interfaces of applications, etc.). As used herein, the term "shared three-dimensional environment" refers to a three-dimensional environment that is independently presented, displayed, and/or visible at two or more electronic devices, via which content, applications, data, etc. can be shared and/or presented to users of the two or more electronic devices. In some examples, when the first electronic device 360 is in a multi-user communication session with the second electronic device 370, an avatar corresponding to a user of one electronic device is optionally displayed in a three-dimensional environment displayed via another electronic device. For example, as shown in FIG. 3, at the first electronic device 360, an avatar 315 corresponding to a user of the second electronic device 370 is displayed in a three-dimensional environment 350A. Similarly, at the second electronic device 370, an avatar 317 corresponding to the user of the first electronic device 360 is displayed in the three-dimensional environment 350B.

在一些示例中,作为共享三维环境的一部分的化身315/317的呈现任选地伴有与电子设备370/360的用户的语音相对应的音频效果。例如,使用第一电子设备360在三维环境350A中显示的化身315任选地伴有与第二电子设备370的用户的语音相对应的音频效果。在一些此类示例中,当第二电子设备370的用户说话时,用户的语音可由第二电子设备370检测到(例如,经由麦克风213B)并且传输到第一电子设备360(例如,经由通信电路222B/222A),使得第二电子设备370的用户的检测到的语音可在三维环境350A中作为音频(例如,使用扬声器216A)呈现给第一电子设备360的用户。在一些示例中,与第二电子设备370的用户的语音相对应的音频效果可以被空间化,使得其对第一电子设备360的用户表现为从化身315在共享三维环境350A中的位置发出(例如,尽管从第一电子设备360的扬声器输出)。类似地,使用第二电子设备370在三维环境350B中显示的化身317任选地伴有与第一电子设备360的用户的语音相对应的音频效果。在一些此类示例中,当第一电子设备360的用户说话时,用户的语音可由第一电子设备360检测到(例如,经由麦克风213A)并且传输到第二电子设备370(例如,经由通信电路222A/222B),使得第一电子设备360的用户的检测到的语音可在三维环境350B中作为音频(例如,使用扬声器216B)呈现给第二电子设备370的用户。在一些示例中,与第一电子设备360的用户的语音相对应的音频效果可以被空间化,使得其对第二电子设备370的用户表现为从化身317在共享三维环境350B中的位置发出(例如,尽管从第一电子设备360的扬声器输出)。In some examples, the presentation of the avatar 315/317 as part of the shared three-dimensional environment is optionally accompanied by an audio effect corresponding to the voice of the user of the electronic device 370/360. For example, the avatar 315 displayed in the three-dimensional environment 350A using the first electronic device 360 is optionally accompanied by an audio effect corresponding to the voice of the user of the second electronic device 370. In some such examples, when the user of the second electronic device 370 speaks, the user's voice can be detected by the second electronic device 370 (e.g., via microphone 213B) and transmitted to the first electronic device 360 (e.g., via communication circuit 222B/222A), so that the detected voice of the user of the second electronic device 370 can be presented to the user of the first electronic device 360 as audio in the three-dimensional environment 350A (e.g., using speaker 216A). In some examples, the audio effect corresponding to the voice of the user of the second electronic device 370 can be spatialized so that it appears to the user of the first electronic device 360 as emanating from the location of the avatar 315 in the shared three-dimensional environment 350A (e.g., despite being output from the speaker of the first electronic device 360). Similarly, the avatar 317 displayed in the three-dimensional environment 350B using the second electronic device 370 is optionally accompanied by an audio effect corresponding to the voice of the user of the first electronic device 360. In some such examples, when the user of the first electronic device 360 speaks, the user's voice may be detected by the first electronic device 360 (e.g., via microphone 213A) and transmitted to the second electronic device 370 (e.g., via communication circuitry 222A/222B), so that the detected voice of the user of the first electronic device 360 may be presented to the user of the second electronic device 370 as audio in the three-dimensional environment 350B (e.g., using speaker 216B). In some examples, the audio effect corresponding to the voice of the user of the first electronic device 360 may be spatialized so that it appears to the user of the second electronic device 370 as emanating from the location of the avatar 317 in the shared three-dimensional environment 350B (e.g., despite being output from the speaker of the first electronic device 360).

在一些示例中,当处于多用户通信会话中时,化身315/317在三维环境350A/350B中以对应于和/或基于电子设备360/370(和/或电子设备360/370的用户)在围绕电子设备360/370的物理环境中的取向的相应取向显示。例如,如图3所示,在三维环境350A中,化身315任选地面朝第一电子设备360的用户的视点,并且在三维环境350B中,化身317任选地面朝第二电子设备370的用户的视点。当特定用户在物理环境中移动电子设备(和/或其自身)时,用户的视点根据该移动而改变,这因此也可改变用户的化身在三维环境中的取向。例如,参考图3,如果第一电子设备360的用户将在三维环境350A中向左看,使得第一电子设备360向左(例如,逆时针)旋转(例如,对应量),则第二电子设备370的用户将看到与第一电子设备360的用户相对应的化身317根据第一电子设备360的移动而相对于第二电子设备370的用户的视点向右(例如,顺时针)旋转。In some examples, when in a multi-user communication session, the avatars 315/317 are displayed in the three-dimensional environment 350A/350B with respective orientations corresponding to and/or based on the orientations of the electronic devices 360/370 (and/or the users of the electronic devices 360/370) in the physical environment surrounding the electronic devices 360/370. For example, as shown in FIG3 , in the three-dimensional environment 350A, the avatar 315 is optionally facing the viewpoint of the user of the first electronic device 360, and in the three-dimensional environment 350B, the avatar 317 is optionally facing the viewpoint of the user of the second electronic device 370. When a particular user moves the electronic device (and/or himself) in the physical environment, the user's viewpoint changes according to the movement, which may therefore also change the orientation of the user's avatar in the three-dimensional environment. For example, referring to Figure 3, if the user of the first electronic device 360 looks to the left in the three-dimensional environment 350A, causing the first electronic device 360 to rotate to the left (e.g., counterclockwise) (e.g., a corresponding amount), the user of the second electronic device 370 will see the avatar 317 corresponding to the user of the first electronic device 360 rotate to the right (e.g., clockwise) relative to the viewpoint of the user of the second electronic device 370 based on the movement of the first electronic device 360.

另外,在一些示例中,在处于多用户通信会话中时,三维环境350A/350B的视点和/或三维环境350A/350B的视点的位置任选地根据电子设备360/370的移动(例如,由电子设备360/370的用户进行)而改变。例如,在处于通信会话中时,如果第一电子设备360朝向桌子的表示306'和/或化身315移动得更近(例如,因为第一电子设备360的用户在围绕第一电子设备360的物理环境中向前移动),则三维环境350A的视点将相应地改变,使得桌子的表示306'、窗口的表示309'和化身315在视场中看起来更大。在一些示例中,每个用户可独立地与三维环境350A/350B交互,使得三维环境350A的视点的改变和/或第一电子设备360与三维环境350A中的虚拟对象的交互任选地不影响在第二电子设备370处的三维环境350B中示出的内容,反之亦然。Additionally, in some examples, the viewpoint of the three-dimensional environment 350A/350B and/or the position of the viewpoint of the three-dimensional environment 350A/350B optionally changes based on movement of the electronic device 360/370 (e.g., by a user of the electronic device 360/370) while in a multi-user communication session. For example, if the first electronic device 360 moves closer to the representation 306' of the table and/or the avatar 315 while in a communication session (e.g., because the user of the first electronic device 360 moves forward in the physical environment surrounding the first electronic device 360), the viewpoint of the three-dimensional environment 350A will change accordingly, making the representation 306' of the table, the representation 309' of the window, and the avatar 315 appear larger in the field of view. In some examples, each user may interact with three-dimensional environment 350A/350B independently, such that changes in the viewpoint of three-dimensional environment 350A and/or interaction of first electronic device 360 with virtual objects in three-dimensional environment 350A optionally do not affect content shown in three-dimensional environment 350B at second electronic device 370, and vice versa.

在一些示例中,化身315/317是电子设备370/360的用户的表示(例如,全身渲染)。在一些示例中,化身315/317是电子设备370/360的用户的一部分的表示(例如,头部、面部、头部和躯干等的渲染)。在一些示例中,化身315/317是在三维环境350A/350B中显示的用户个性化、用户选择和/或用户创建的表示,其表示电子设备370/360的用户。应当理解,虽然图3中示出的化身315/317分别对应于电子设备370/360的用户的全身表示,但是可提供另选化身,诸如上文描述的那些。In some examples, the avatar 315/317 is a representation of a user of the electronic device 370/360 (e.g., a full body rendering). In some examples, the avatar 315/317 is a representation of a portion of a user of the electronic device 370/360 (e.g., a rendering of a head, a face, a head and a torso, etc.). In some examples, the avatar 315/317 is a user-personalized, user-selected, and/or user-created representation displayed in the three-dimensional environment 350A/350B that represents the user of the electronic device 370/360. It should be understood that although the avatars 315/317 shown in FIG. 3 correspond to full body representations of users of the electronic devices 370/360, respectively, alternative avatars such as those described above may be provided.

如上所述,在第一电子设备360和第二电子设备370处于多用户通信会话中时,三维环境350A/350B可以是使用电子设备360/370呈现的共享三维环境。在一些示例中,在多用户通信会话中,由一个电子设备处的一个用户观看的内容可以与在另一电子设备处的另一用户共享。在一些此类示例中,内容可由两个用户(例如,经由其相应电子设备)在共享三维环境中体验(例如,观看和/或与其交互)(例如,内容是三维环境中的共享内容)。例如,如图3所示,三维环境350A/350B包括共享虚拟对象310(例如,其任选地是三维虚拟雕塑),该共享虚拟对象与相应应用程序(例如,内容创建应用程序)相关联并且可由两个用户观看并且与两个用户交互。如图3所示,共享虚拟对象310可与可选择以发起共享虚拟对象310在三维环境350A/350B内的移动的抓取器示能表示(例如,操纵条)335一起显示。As described above, when the first electronic device 360 and the second electronic device 370 are in a multi-user communication session, the three-dimensional environment 350A/350B can be a shared three-dimensional environment presented using the electronic device 360/370. In some examples, in a multi-user communication session, content viewed by one user at one electronic device can be shared with another user at another electronic device. In some such examples, the content can be experienced (e.g., viewed and/or interacted with) by two users (e.g., via their respective electronic devices) in a shared three-dimensional environment (e.g., the content is shared content in the three-dimensional environment). For example, as shown in FIG. 3 , the three-dimensional environment 350A/350B includes a shared virtual object 310 (e.g., which is optionally a three-dimensional virtual sculpture), which is associated with a respective application (e.g., a content creation application) and can be viewed by two users and interacted with by two users. As shown in FIG. 3 , the shared virtual object 310 can be displayed together with a grabber affordance (e.g., a manipulation bar) 335 that can be selected to initiate movement of the shared virtual object 310 within the three-dimensional environment 350A/350B.

在一些示例中,三维环境350A/350B包括对于多用户通信会话中的一个用户为私有的非共享内容。例如,在图3中,第一电子设备360正在三维环境350A中显示私有应用程序窗口330(例如,私有对象),其任选地是多用户通信会话中的不在第一电子设备360和第二电子设备370之间共享的对象。在一些示例中,私有应用程序窗口330可与在第一电子设备360上操作的相应应用程序(例如,诸如媒体播放器应用程序、web浏览应用程序、消息收发应用程序等)相关联。因为私有应用程序窗口330不与第二电子设备370共享,所以第二电子设备370任选地在三维环境350B中显示私有应用程序窗口的表示330”。如图3所示,在一些示例中,私有应用程序窗口的表示330”可为私有应用程序窗口330的褪色、遮挡、变色和/或半透明表示,该表示防止第二电子设备370的用户观看私有应用程序窗口330的内容。In some examples, the three-dimensional environment 350A/350B includes non-shared content that is private to one user in the multi-user communication session. For example, in FIG. 3, the first electronic device 360 is displaying a private application window 330 (e.g., a private object) in the three-dimensional environment 350A, which is optionally an object that is not shared between the first electronic device 360 and the second electronic device 370 in the multi-user communication session. In some examples, the private application window 330 may be associated with a corresponding application (e.g., such as a media player application, a web browsing application, a messaging application, etc.) operating on the first electronic device 360. Because the private application window 330 is not shared with the second electronic device 370, the second electronic device 370 optionally displays a representation 330 of the private application window in the three-dimensional environment 350B. As shown in FIG. 3, in some examples, the representation 330 of the private application window may be a faded, blocked, discolored, and/or translucent representation of the private application window 330, which prevents the user of the second electronic device 370 from viewing the content of the private application window 330.

另外,在一些示例中,虚拟对象310对应于第一类型的对象,并且私有应用程序窗口330对应于与第一类型的对象不同的第二类型的对象。在一些示例中,基于共享对象在共享三维环境中的取向来确定对象类型。例如,第一类型的对象是在共享三维环境中相对于电子设备的用户的视点具有水平取向的对象。如图3所示,如以上类似地讨论的,共享虚拟对象310任选地是在三维环境350A/350B中相对于第一电子设备360和第二电子设备370的用户的视点具有体积和/或水平取向的虚拟雕塑。因此,如以上所讨论的,共享虚拟对象310是第一类型的对象。另一方面,第二类型的对象是在共享三维环境中相对于电子设备的用户的视点具有竖直取向的对象。例如,在图3中,如以上类似地讨论的,共享虚拟对象310(例如,私有应用程序窗口)是在三维环境350A/350B中相对于第一电子设备360和第二电子设备370的用户的视点具有竖直取向的二维对象。因此,如上所述,私有应用程序窗口330(以及因此私有应用程序窗口330的表示)是第二类型的对象。在一些示例中,如稍后更详细地描述的,对象类型指示用于共享三维环境中的用户的空间模板,该空间模板确定化身315/317相对于共享三维环境中的对象在空间上定位在何处。In addition, in some examples, the virtual object 310 corresponds to an object of a first type, and the private application window 330 corresponds to an object of a second type different from the object of the first type. In some examples, the object type is determined based on the orientation of the shared object in the shared three-dimensional environment. For example, the first type of object is an object with a horizontal orientation relative to the viewpoint of the user of the electronic device in the shared three-dimensional environment. As shown in FIG. 3, as similarly discussed above, the shared virtual object 310 is optionally a virtual sculpture with a volume and/or horizontal orientation relative to the viewpoint of the user of the first electronic device 360 and the second electronic device 370 in the three-dimensional environment 350A/350B. Therefore, as discussed above, the shared virtual object 310 is an object of the first type. On the other hand, the second type of object is an object with a vertical orientation relative to the viewpoint of the user of the electronic device in the shared three-dimensional environment. For example, in FIG. 3, as similarly discussed above, the shared virtual object 310 (e.g., a private application window) is a two-dimensional object with a vertical orientation relative to the viewpoint of the user of the first electronic device 360 and the second electronic device 370 in the three-dimensional environment 350A/350B. Thus, as described above, private application window 330 (and thus the representation of private application window 330) is an object of the second type. In some examples, as described in more detail later, the object type indicates a spatial template for the user in the shared three-dimensional environment that determines where avatar 315/317 is spatially positioned relative to the object in the shared three-dimensional environment.

在一些示例中,第一电子设备360的用户和第二电子设备370的用户在多用户通信会话内共享相同空间状态340。在一些示例中,空间状态340可以是多用户通信会话内的基线(例如,第一或默认)空间状态。例如,当第一电子设备360的用户和第二电子设备370的用户最初加入多用户通信会话时,第一电子设备360的用户和第二电子设备370的用户自动地(并且最初,如以下更详细地讨论的)与多用户通信会话内的空间状态340相关联(例如,分组到其中)。在一些示例中,当用户处于如图3所示的空间状态340时,第一电子设备360的用户和第二电子设备370的用户在共享三维环境内具有第一空间布置(例如,第一空间模板),如由椭圆315A(例如,与第二电子设备370的用户相对应)和317A(例如,与第一电子设备360的用户相对应)的位置所表示的。例如,第一电子设备360的用户和第二电子设备370的用户(包括在共享三维环境中显示的对象)在空间状态340内具有空间实况。在一些示例中,空间实况要求用户(或其表示)与虚拟对象之间的一致空间布置。例如,第一电子设备360的用户的视点与对应于第二电子设备360的用户的化身315之间的距离可与第二电子设备370的用户的视点与对应于第一电子设备370的用户的化身317之间的距离相同。如本文所描述的,如果第一电子设备360的用户的视点的位置移动,则与第一电子设备360的用户相对应的化身317根据用户的视点的位置相对于第二电子设备370的用户的视点的移动而在三维环境350B中移动。另外,如果第一电子设备360的用户对共享虚拟对象310执行交互(例如,在三维环境350A中移动虚拟对象310),则第二电子设备370根据该交互改变三维环境350B中的共享虚拟对象310的显示(例如,在三维环境350B中移动虚拟对象310)。In some examples, the user of the first electronic device 360 and the user of the second electronic device 370 share the same spatial state 340 within the multi-user communication session. In some examples, the spatial state 340 can be a baseline (e.g., a first or default) spatial state within the multi-user communication session. For example, when the user of the first electronic device 360 and the user of the second electronic device 370 initially join the multi-user communication session, the user of the first electronic device 360 and the user of the second electronic device 370 are automatically (and initially, as discussed in more detail below) associated with (e.g., grouped into) the spatial state 340 within the multi-user communication session. In some examples, when the users are in the spatial state 340 as shown in FIG. 3, the user of the first electronic device 360 and the user of the second electronic device 370 have a first spatial arrangement (e.g., a first spatial template) within the shared three-dimensional environment, as represented by the positions of the ellipses 315A (e.g., corresponding to the user of the second electronic device 370) and 317A (e.g., corresponding to the user of the first electronic device 360). For example, the user of the first electronic device 360 and the user of the second electronic device 370 (including objects displayed in the shared three-dimensional environment) have spatial reality within the spatial state 340. In some examples, spatial reality requires a consistent spatial arrangement between the user (or its representation) and the virtual object. For example, the distance between the viewpoint of the user of the first electronic device 360 and the avatar 315 corresponding to the user of the second electronic device 360 may be the same as the distance between the viewpoint of the user of the second electronic device 370 and the avatar 317 corresponding to the user of the first electronic device 370. As described herein, if the position of the viewpoint of the user of the first electronic device 360 moves, the avatar 317 corresponding to the user of the first electronic device 360 moves in the three-dimensional environment 350B according to the movement of the position of the user's viewpoint relative to the viewpoint of the user of the second electronic device 370. In addition, if the user of the first electronic device 360 performs an interaction on the shared virtual object 310 (e.g., moves the virtual object 310 in the three-dimensional environment 350A), the second electronic device 370 changes the display of the shared virtual object 310 in the three-dimensional environment 350B according to the interaction (e.g., moves the virtual object 310 in the three-dimensional environment 350B).

应当理解,在一些示例中,多于两个电子设备可以在多用户通信会话中通信地链接。例如,在其中三个电子设备在多用户通信会话中通信地链接的情况下,第一电子设备将显示与其他两个电子设备的用户相对应的两个化身,而不是仅一个化身。因此,应当理解,本文参考多用户通信会话中的第一电子设备360和第二电子设备370描述的各种过程和示例性交互任选地适用于其中多于两个电子设备在多用户通信会话中通信地链接的情况。It should be understood that in some examples, more than two electronic devices can be communicatively linked in a multi-user communication session. For example, in a situation where three electronic devices are communicatively linked in a multi-user communication session, a first electronic device will display two avatars corresponding to the users of the other two electronic devices, rather than just one avatar. Therefore, it should be understood that the various processes and exemplary interactions described herein with reference to a first electronic device 360 and a second electronic device 370 in a multi-user communication session are optionally applicable to situations where more than two electronic devices are communicatively linked in a multi-user communication session.

在一些示例中,选择性地控制内容和与在多用户通信会话中通信地链接的电子设备的用户相对应的化身的显示可能是有利的。如上所述,当多个用户处于多用户通信会话中时在三维环境中显示和/或共享的内容可与提供用于在三维环境中显示内容的数据的相应应用程序相关联。在一些示例中,可提供用于促进多用户通信会话的通信应用程序(例如,在每个电子设备上本地地提供或经由与每个电子设备通信的服务器(例如,无线通信终端)远程地提供)。在一些此类示例中,通信应用程序从相应应用程序接收数据并且基于控制内容在三维环境中的显示的数据来设定/定义一个或多个显示参数。另外,在一些示例中,该一个或多个显示参数控制与电子设备的用户相对应的化身在多用户通信会话内的三维环境中的显示。例如,与多用户通信会话中的每个用户的空间状态相对应的数据和/或指示多用户通信会话中的用户交互的数据也设定/定义用于多用户通信会话的该一个或多个显示参数,如本文所讨论的。在图4中提供了通信应用程序的示例性架构,如以下更详细地讨论的。In some examples, it may be advantageous to selectively control the display of content and avatars corresponding to users of electronic devices that are communicatively linked in a multi-user communication session. As described above, content displayed and/or shared in a three-dimensional environment when multiple users are in a multi-user communication session may be associated with a corresponding application that provides data for displaying content in a three-dimensional environment. In some examples, a communication application for facilitating a multi-user communication session may be provided (e.g., provided locally on each electronic device or remotely via a server (e.g., a wireless communication terminal) that communicates with each electronic device). In some such examples, the communication application receives data from the corresponding application and sets/defines one or more display parameters based on the data that controls the display of content in a three-dimensional environment. In addition, in some examples, the one or more display parameters control the display of avatars corresponding to users of the electronic device in a three-dimensional environment within a multi-user communication session. For example, data corresponding to the spatial state of each user in a multi-user communication session and/or data indicating user interactions in a multi-user communication session also set/define the one or more display parameters for a multi-user communication session, as discussed herein. An exemplary architecture of a communication application is provided in FIG. 4, as discussed in more detail below.

图4示出了根据本公开的一些示例的被配置为便于多用户通信会话的通信应用程序的示例性架构的框图。在一些示例中,如图4所示,通信应用程序488可被配置为在电子设备401(例如,与图1中的电子设备101相对应)上操作。在一些示例中,通信应用程序488可被配置为在与电子设备401通信的服务器(例如,无线通信终端)处操作。在一些示例中,如以下所讨论的,通信应用程序488可促进包括多个电子设备(例如,包括电子设备401)(诸如以上参考图3所描述的第一电子设备360和第二电子设备370)的多用户通信会话。FIG4 shows a block diagram of an exemplary architecture of a communication application configured to facilitate a multi-user communication session according to some examples of the present disclosure. In some examples, as shown in FIG4, a communication application 488 may be configured to operate on an electronic device 401 (e.g., corresponding to the electronic device 101 in FIG1). In some examples, the communication application 488 may be configured to operate at a server (e.g., a wireless communication terminal) that communicates with the electronic device 401. In some examples, as discussed below, the communication application 488 may facilitate a multi-user communication session including multiple electronic devices (e.g., including the electronic device 401) (such as the first electronic device 360 and the second electronic device 370 described above with reference to FIG3).

在一些示例中,如图4所示,通信应用程序488被配置为与一个或多个辅助应用程序470通信。在一些示例中,如以下更详细地讨论的,通信应用程序488和一个或多个辅助应用程序470经由空间协调器应用程序接口(API)462传输和交换数据和其他高级信息。如本文所用,API可定义在调用应用程序和提供服务、提供数据或者执行操作或计算的其他软件代码(例如,操作系统、库例行程序、函数)之间传递的一个或多个参数。API可实现为程序代码中的一个或多个调用,这些调用基于在API规范文档中所定义的调用约定通过参数列表或其他结构来发送或接收一个或多个参数。参数可为常数、键、数据结构、目标、目标类、变量、数据类型、指针、数组、列表或者另一个调用。API调用和参数可在任何编程语言中实现。编程语言可定义编程者将用以访问支持API的功能的词汇和调用约定。在一些示例中,API调用可向应用程序报告设备运行应用程序的能力,诸如输入能力、输出能力、处理能力、功率能力、通信能力等。In some examples, as shown in FIG. 4 , the communication application 488 is configured to communicate with one or more auxiliary applications 470. In some examples, as discussed in more detail below, the communication application 488 and one or more auxiliary applications 470 transmit and exchange data and other high-level information via a spatial coordinator application program interface (API) 462. As used herein, an API may define one or more parameters passed between a calling application and other software codes (e.g., an operating system, a library routine, a function) that provide services, provide data, or perform operations or calculations. The API may be implemented as one or more calls in a program code, which are based on the calling convention defined in the API specification document and send or receive one or more parameters through a parameter list or other structure. The parameter may be a constant, a key, a data structure, a target, a target class, a variable, a data type, a pointer, an array, a list, or another call. API calls and parameters may be implemented in any programming language. A programming language may define the vocabulary and calling convention that a programmer will use to access the functions that support the API. In some examples, an API call may report to an application the ability of a device to run an application, such as input capability, output capability, processing capability, power capability, communication capability, etc.

在一些示例中,如图4所示,场景整合服务466被配置为从一个或多个辅助应用程序470接收应用程序数据471。例如,如先前参考图3所讨论的,可在多用户通信会话内的共享三维环境中显示虚拟对象(例如,包括内容)。在一些示例中,虚拟对象可与一个或多个相应应用程序(诸如一个或多个辅助应用程序470)相关联。在一些示例中,应用程序数据471包括与虚拟对象的外观、虚拟对象的交互式特征(例如,对象是否可被移动、选择等)、虚拟对象的定位信息(例如,虚拟对象在共享三维环境内的放置)等相对应的信息。在一些示例中,如以下更详细地讨论的,场景整合服务466利用应用程序数据471来生成并定义用于与一个或多个辅助应用程序470相关联的一个或多个虚拟对象的一个或多个显示参数,其中该一个或多个显示参数控制该一个或多个虚拟对象在共享三维环境中的显示。在一些示例中,如图4所示,应用程序数据471经由场景整合服务466被接收。In some examples, as shown in FIG. 4 , the scene integration service 466 is configured to receive application data 471 from one or more auxiliary applications 470. For example, as previously discussed with reference to FIG. 3 , a virtual object (e.g., including content) may be displayed in a shared three-dimensional environment within a multi-user communication session. In some examples, a virtual object may be associated with one or more corresponding applications (such as one or more auxiliary applications 470). In some examples, the application data 471 includes information corresponding to the appearance of the virtual object, the interactive features of the virtual object (e.g., whether the object can be moved, selected, etc.), the positioning information of the virtual object (e.g., the placement of the virtual object within the shared three-dimensional environment), etc. In some examples, as discussed in more detail below, the scene integration service 466 utilizes the application data 471 to generate and define one or more display parameters for one or more virtual objects associated with one or more auxiliary applications 470, wherein the one or more display parameters control the display of the one or more virtual objects in the shared three-dimensional environment. In some examples, as shown in FIG. 4 , the application data 471 is received via the scene integration service 466.

另外,在一些示例中,如图4所示,场景整合服务466被配置为利用场景数据485。在一些示例中,场景数据485包括与经由电子设备401的一个或多个传感器(例如,经由图2中的图像传感器206A/206B)捕获的物理环境(例如,真实世界环境)(例如,以上参考图3所讨论的真实世界环境)相对应的信息。例如,场景数据485包括与物理环境的一个或多个特征相对应的信息,诸如物理环境的外观,包括物理环境内的对象的位置(例如,形成物理环境的一部分的对象,任选地不包括虚拟对象)、物理环境的尺寸、计算机生成的环境内的对象的行为(例如,背景对象,诸如背景用户、宠物、车辆等)等。在一些示例中,场景整合服务466从外部(例如,从电子设备401的操作系统)接收场景数据485。在一些示例中,场景数据485可以以上下文数据473的形式被提供给该一个或多个辅助应用程序。例如,上下文数据473使得一个或多个辅助应用程序470能够解释上述虚拟对象周围的物理环境,该物理环境任选地作为透传被包括在共享三维环境中。Additionally, in some examples, as shown in FIG. 4 , the scene integration service 466 is configured to utilize scene data 485. In some examples, the scene data 485 includes information corresponding to a physical environment (e.g., a real-world environment) captured via one or more sensors of the electronic device 401 (e.g., via the image sensor 206A/206B in FIG. 2 ) (e.g., the real-world environment discussed above with reference to FIG. 3 ). For example, the scene data 485 includes information corresponding to one or more features of the physical environment, such as the appearance of the physical environment, including the location of objects within the physical environment (e.g., objects that form part of the physical environment, optionally excluding virtual objects), the size of the physical environment, the behavior of objects within the computer-generated environment (e.g., background objects, such as background users, pets, vehicles, etc.), etc. In some examples, the scene integration service 466 receives the scene data 485 from the outside (e.g., from an operating system of the electronic device 401). In some examples, the scene data 485 can be provided to the one or more auxiliary applications in the form of context data 473. For example, context data 473 enables one or more auxiliary applications 470 to interpret the physical environment surrounding the virtual object described above, which is optionally included as a pass-through in the shared three-dimensional environment.

在一些示例中,通信应用程序488和/或一个或多个辅助应用程序470被配置为(例如,从电子设备401的操作系统)接收用户输入数据481A。例如,用户输入数据481A可对应于经由与电子设备401通信的一个或多个输入设备检测到的用户输入,诸如经由物理输入设备(例如,图2中的触敏表面209A/209B)检测到的基于接触的输入或经由传感器设备(例如,手跟踪传感器202A/202B、取向传感器210A/210B和/或眼睛跟踪传感器212A/212B)检测到的基于手势和/或基于注视的输入。在一些示例中,用户输入数据481A包括与指向一个或多个虚拟对象的输入相对应的信息,该一个或多个虚拟对象在共享三维环境中显示并且与一个或多个辅助应用程序470相关联。例如,用户输入数据481A包括与直接和虚拟对象交互的输入(诸如在共享三维环境中移动虚拟对象)相对应的信息,或者与用于使得虚拟对象显示(例如,启动一个或多个辅助应用程序470)的输入相对应的信息。在一些示例中,用户输入数据481A包括与指向在电子设备401处显示的共享三维环境的输入相对应的信息。例如,用户输入数据481A包括与用于在共享三维环境中移动(例如,旋转和/或移位)电子设备401的用户的视点的输入相对应的信息。In some examples, communication application 488 and/or one or more auxiliary applications 470 are configured to receive user input data 481A (e.g., from an operating system of electronic device 401). For example, user input data 481A may correspond to user input detected via one or more input devices in communication with electronic device 401, such as contact-based input detected via a physical input device (e.g., touch-sensitive surface 209A/209B in FIG. 2) or gesture-based and/or gaze-based input detected via a sensor device (e.g., hand tracking sensor 202A/202B, orientation sensor 210A/210B, and/or eye tracking sensor 212A/212B). In some examples, user input data 481A includes information corresponding to input directed to one or more virtual objects displayed in a shared three-dimensional environment and associated with one or more auxiliary applications 470. For example, user input data 481A includes information corresponding to input for interacting directly with a virtual object, such as moving a virtual object in a shared three-dimensional environment, or information corresponding to input for causing a virtual object to be displayed (e.g., launching one or more auxiliary applications 470). In some examples, user input data 481A includes information corresponding to input directed to a shared three-dimensional environment displayed at electronic device 401. For example, user input data 481A includes information corresponding to input for moving (e.g., rotating and/or shifting) a viewpoint of a user of electronic device 401 in a shared three-dimensional environment.

在一些示例中,如上所述,空间协调器API 462被配置为定义一个或多个显示参数,共享三维环境(例如,包括虚拟对象和化身)根据该一个或多个显示参数显示在电子设备401处。在一些示例中,如图4所示,空间协调器API 462包括应用程序空间状态确定器464(例如,任选地是子API和/或第一功能,诸如空间模板偏好API/功能),该应用程序空间状态确定器提供(例如,定义)用于一个或多个辅助应用程序470的空间状态参数。在一些示例中,经由应用程序空间状态数据463提供用于该一个或多个辅助应用程序的空间状态参数,如以下更详细地讨论的。在一些示例中,用于一个或多个辅助应用程序470的空间状态参数定义用于一个或多个辅助应用程序470的空间模板。例如,用于相应应用程序的空间状态参数定义多用户通信会话中的一个或多个参与者相对于在共享三维环境中显示的虚拟对象(例如,诸如图3中的虚拟对象310或私有应用程序窗口330)的空间布置,如以下参考图5A至图5F更详细地讨论的。在一些示例中,如图4所示,应用程序空间状态确定器464基于从一个或多个辅助应用程序470接收的空间状态请求数据465来定义用于一个或多个辅助应用程序470的空间状态参数。在一些示例中,空间状态请求数据465包括与在多用户通信会话内的共享三维环境中以特定空间状态(例如,空间布置)显示与一个或多个辅助应用程序470相关联的虚拟对象的请求相对应的信息。在一些示例中,空间状态请求数据465包括指示默认(例如,基线)空间模板的信息,与一个或多个辅助应用程序470相关联的内容(例如,包括一个或多个虚拟对象)以及与多用户通信会话中的一个或多个用户相对应的一个或多个化身根据该默认空间模板来布置。例如,如以下参考图5A至图5F所讨论的,在三维环境中作为“主要”内容共享的内容(例如,基于媒体的内容,诸如视频、音乐、播客和/或呈现给用户观看/消费的基于图像的内容)可默认以并排空间模板显示,并且其他类型的内容(例如,私有窗口或用户的二维表示)可默认以圆形(例如,对话)空间模板显示。另外,在一些示例中,定义用于一个或多个辅助应用程序470的空间模板包括在与一个或多个辅助应用程序470相关联的一个或多个虚拟对象和多用户通信会话中的一个或多个参与者之间建立空间分离。例如,应用程序空间状态确定器464被配置为定义与多用户通信会话中的用户相对应的相邻化身之间的距离和/或一个或多个化身与相应空间模板内的虚拟对象(例如,应用程序窗口)之间的距离(例如,其中此类距离可以是不同的值或相同的值),如以下参考图5A至图5F更详细地描述的。在一些示例中,分离间距由通信应用程序488(例如,经由应用程序空间状态确定器464)自动地确定(例如,设定为预定义值)。另选地,在一些示例中,分离间距基于由一个或多个辅助应用程序470提供的信息来确定。例如,提供给应用程序空间状态确定器464的空间状态请求数据465包括指示用于以上所讨论的空间分离的指定或请求值的信息。In some examples, as described above, the spatial coordinator API 462 is configured to define one or more display parameters according to which the shared three-dimensional environment (e.g., including virtual objects and avatars) is displayed at the electronic device 401. In some examples, as shown in FIG. 4, the spatial coordinator API 462 includes an application space state determiner 464 (e.g., optionally a sub-API and/or a first function, such as a space template preference API/function), which provides (e.g., defines) space state parameters for one or more auxiliary applications 470. In some examples, the space state parameters for the one or more auxiliary applications are provided via application space state data 463, as discussed in more detail below. In some examples, the space state parameters for one or more auxiliary applications 470 define a space template for the one or more auxiliary applications 470. For example, the space state parameters for the respective applications define a spatial arrangement of one or more participants in a multi-user communication session relative to a virtual object (e.g., such as the virtual object 310 or the private application window 330 in FIG. 3) displayed in the shared three-dimensional environment, as discussed in more detail below with reference to FIGS. 5A to 5F. In some examples, as shown in FIG. 4 , the application space state determiner 464 defines space state parameters for one or more auxiliary applications 470 based on space state request data 465 received from one or more auxiliary applications 470. In some examples, the space state request data 465 includes information corresponding to a request to display virtual objects associated with one or more auxiliary applications 470 in a specific space state (e.g., spatial arrangement) in a shared three-dimensional environment within a multi-user communication session. In some examples, the space state request data 465 includes information indicating a default (e.g., baseline) space template according to which content associated with one or more auxiliary applications 470 (e.g., including one or more virtual objects) and one or more avatars corresponding to one or more users in the multi-user communication session are arranged. For example, as discussed below with reference to FIGS. 5A to 5F , content shared as “primary” content in a three-dimensional environment (e.g., media-based content such as videos, music, podcasts, and/or image-based content presented to users for viewing/consumption) may be displayed by default in a side-by-side space template, and other types of content (e.g., private windows or two-dimensional representations of users) may be displayed by default in a circular (e.g., conversation) space template. Additionally, in some examples, defining a spatial template for one or more auxiliary applications 470 includes establishing a spatial separation between one or more virtual objects associated with the one or more auxiliary applications 470 and one or more participants in a multi-user communication session. For example, the application spatial state determiner 464 is configured to define distances between adjacent avatars corresponding to users in the multi-user communication session and/or distances between one or more avatars and virtual objects (e.g., application windows) within a corresponding spatial template (e.g., where such distances may be different values or the same value), as described in more detail below with reference to FIGS. 5A to 5F . In some examples, the separation distance is automatically determined (e.g., set to a predefined value) by the communication application 488 (e.g., via the application spatial state determiner 464). Alternatively, in some examples, the separation distance is determined based on information provided by the one or more auxiliary applications 470. For example, the spatial state request data 465 provided to the application spatial state determiner 464 includes information indicating a specified or requested value for the spatial separation discussed above.

在一些示例中,如以下参考图5A至图5F所讨论的,针对一个或多个辅助应用程序470所确定的空间状态参数可以对应于或可不对应于由一个或多个辅助应用程序470所请求的空间状态。在一些示例中,如参考图5A至图5F更详细地描述的,一个或多个辅助应用程序470的空间状态参数的变化可引起多用户通信会话内的空间模板的变化。例如,应用程序空间状态确定器464可响应于与一个或多个辅助应用程序470相关联的虚拟对象的显示状态的变化(例如,经由空间状态请求数据465从一个或多个辅助应用程序470传输)而改变用于一个或多个辅助应用程序470的空间状态参数。在一些示例中,用于一个或多个辅助应用程序470的空间状态参数还可代表一个或多个辅助应用程序470中的特定应用程序是否支持空间实况(例如,与空间实况的规则兼容)。例如,如果应用程序是基于音频的应用程序(例如,电话呼叫应用程序),则应用程序空间状态确定器464任选地不定义用于与该应用程序相关联的虚拟对象的空间模板。In some examples, as discussed below with reference to FIGS. 5A-5F , the spatial state parameters determined for one or more auxiliary applications 470 may or may not correspond to the spatial state requested by the one or more auxiliary applications 470. In some examples, as described in more detail with reference to FIGS. 5A-5F , changes in the spatial state parameters of one or more auxiliary applications 470 may cause changes in the spatial template within the multi-user communication session. For example, the application spatial state determiner 464 may change the spatial state parameters for the one or more auxiliary applications 470 in response to a change in the display state of a virtual object associated with the one or more auxiliary applications 470 (e.g., transmitted from the one or more auxiliary applications 470 via the spatial state request data 465). In some examples, the spatial state parameters for the one or more auxiliary applications 470 may also represent whether a particular application in the one or more auxiliary applications 470 supports spatial live (e.g., is compatible with the rules of spatial live). For example, if the application is an audio-based application (e.g., a phone call application), the application spatial state determiner 464 optionally does not define a spatial template for a virtual object associated with the application.

在一些示例中,如图4所示,空间协调器API 462包括提供(例如,定义)用于电子设备401的用户的空间状态参数的参与者空间状态确定器468(例如,任选地是子API和/或第二功能,诸如参与者空间状态API/功能)。在一些示例中,经由用户空间状态数据467提供用于用户的空间状态参数,如以下更详细地讨论的。在一些示例中,用于用户的空间状态参数定义多用户通信会话内的空间实况的启用。例如,用于电子设备401的用户的空间状态参数定义与电子设备的用户相对应的化身是否维持和与多用户通信会话内的第二电子设备的第二用户(例如,和/或虚拟对象)相对应的化身的空间实况,如以上参考图3类似地描述的。在一些示例中,如果多用户通信会话内的参与者(例如,用户)的数量低于参与者的阈值数量(例如,少于四个、五个、六个、八个或十个参与者),则针对多用户通信会话启用空间实况。在一些示例中,对于多用户通信会话内的参与者的数量是或达到大于阈值数量的数量的情况,因此针对多用户通信会话不启用空间实况。在一些示例中,如以下参考图5A至图5F更详细地讨论的,如果用于用户的空间参数将空间实况定义为被启用,则电子设备401在共享三维环境中显示与多用户通信会话内的用户相对应的化身。在一些示例中,如果用户的空间参数将空间实况定义为被禁用,则电子设备401放弃在共享三维环境中显示与用户相对应的化身(例如,替代地显示二维表示),如以下参考图5A至图5F所讨论的。在一些示例中,如图4所示,参与者空间状态确定器468任选地基于用户输入数据481B来定义用于用户的空间状态参数。在一些示例中,用户输入数据481B可包括与明确地禁用或启用多用户通信会话内的空间实况的用户输入相对应的信息。例如,如以下参考图5A至图5F更详细地描述的,用户输入数据481B包括与用于激活仅音频模式(例如,其禁用空间实况)的用户输入相对应的信息。In some examples, as shown in FIG. 4 , the spatial coordinator API 462 includes a participant spatial state determiner 468 (e.g., optionally a sub-API and/or a second function, such as a participant spatial state API/function) that provides (e.g., defines) spatial state parameters for users of the electronic device 401. In some examples, the spatial state parameters for the user are provided via the user spatial state data 467, as discussed in more detail below. In some examples, the spatial state parameters for the user define the enablement of spatial live within a multi-user communication session. For example, the spatial state parameters for the user of the electronic device 401 define whether the avatar corresponding to the user of the electronic device maintains the spatial live of the avatar corresponding to the second user (e.g., and/or virtual object) of the second electronic device within the multi-user communication session, as described similarly above with reference to FIG. 3 . In some examples, if the number of participants (e.g., users) within the multi-user communication session is below a threshold number of participants (e.g., less than four, five, six, eight, or ten participants), spatial live is enabled for the multi-user communication session. In some examples, for the case where the number of participants in a multi-user communication session is or reaches a number greater than a threshold number, spatial live is not enabled for the multi-user communication session. In some examples, as discussed in more detail below with reference to Figures 5A to 5F, if the spatial parameters for the user define spatial live as enabled, the electronic device 401 displays an avatar corresponding to the user in the multi-user communication session in a shared three-dimensional environment. In some examples, if the spatial parameters of the user define spatial live as disabled, the electronic device 401 abandons displaying an avatar corresponding to the user in a shared three-dimensional environment (e.g., displaying a two-dimensional representation instead), as discussed below with reference to Figures 5A to 5F. In some examples, as shown in Figure 4, the participant spatial state determiner 468 optionally defines spatial state parameters for the user based on user input data 481B. In some examples, the user input data 481B may include information corresponding to a user input that explicitly disables or enables spatial live in a multi-user communication session. For example, as described in more detail below with reference to FIGS. 5A-5F , user input data 481B includes information corresponding to a user input for activating an audio-only mode (eg, which disables spatial live).

在一些示例中,如图4所示,空间协调器API 462包括提供(例如,定义)显示模式参数的显示模式确定器472(例如,任选地是子API和/或第三功能,诸如支持舞台空间实况API/功能)。在一些示例中,经由显示模式数据469提供显示模式参数,如以下更详细地讨论的。在一些示例中,显示模式参数控制多用户通信会话中的特定体验是排他性的还是非排他性的(例如,窗口化的)。例如,显示模式参数定义正在多用户通信会话内的共享三维环境中观看/体验内容的用户在观看/体验该内容时是否共享相同空间状态(例如,排他性状态或非排他性状态),如以上参考图3类似地描述的。在一些示例中,如以上参考图3所类似地描述的,针对共享相同空间状态的多用户通信会话中的参与者启用空间实况。在一些示例中,如图4所示,显示模式确定器472可基于输入数据483来定义显示模式参数。在一些示例中,输入数据483包括与用户输入相对应的信息,该用户输入与改变在共享三维环境中显示的虚拟对象的显示模式的请求相对应。例如,如以下参考图6A至图6I所描述的,输入数据483可包括指示用户已提供用于使得虚拟对象在多用户通信会话中以排他性状态显示的输入的信息,这使得显示模式确定器472将显示模式参数定义为排他性的。如参考图6A至图6I更详细地描述的,在一些示例中,一个或多个辅助应用程序470可提供排他性水平的改变的指示,这任选地禁用空间实况,直到多用户通信会话中的所有用户再次处于相同空间状态内。In some examples, as shown in FIG. 4 , the spatial coordinator API 462 includes a display mode determiner 472 (e.g., optionally a sub-API and/or a third function, such as supporting a stage spatial live API/function) that provides (e.g., defines) display mode parameters. In some examples, the display mode parameters are provided via display mode data 469, as discussed in more detail below. In some examples, the display mode parameters control whether a particular experience in a multi-user communication session is exclusive or non-exclusive (e.g., windowed). For example, the display mode parameters define whether users who are viewing/experiencing content in a shared three-dimensional environment within a multi-user communication session share the same spatial state (e.g., an exclusive state or a non-exclusive state) when viewing/experiencing the content, as similarly described above with reference to FIG. 3 . In some examples, as similarly described above with reference to FIG. 3 , spatial live is enabled for participants in a multi-user communication session that share the same spatial state. In some examples, as shown in FIG. 4 , the display mode determiner 472 may define the display mode parameters based on input data 483. In some examples, input data 483 includes information corresponding to a user input corresponding to a request to change a display mode of a virtual object displayed in a shared three-dimensional environment. For example, as described below with reference to Figures 6A to 6I, input data 483 may include information indicating that a user has provided input for causing a virtual object to be displayed in an exclusive state in a multi-user communication session, which causes display mode determiner 472 to define the display mode parameter as exclusive. As described in more detail with reference to Figures 6A to 6I, in some examples, one or more auxiliary applications 470 may provide an indication of a change in the level of exclusivity, which optionally disables spatial live until all users in the multi-user communication session are again in the same spatial state.

在一些示例中,如图4所示,空间协调器API 462将显示舞台数据477传输(例如,经由显示模式确定器472)到一个或多个辅助应用程序470。在一些示例中,显示舞台数据477包括与舞台或布景是否被应用于空间模板/布置(例如,如上所述)相对应的信息,根据该信息,与一个或多个辅助应用程序470(例如,和化身)相关联的虚拟对象显示在多用户通信会话中的共享三维环境中。例如,将舞台或布景应用于虚拟对象的空间模板/布置代表观看/体验虚拟对象的参与者是否维持空间实况(并且因此与参与者相对应的化身是否被显示),如以上类似地描述的。在一些示例中,如以下参考图6A至图6I更详细地描述的,舞台被对准到虚拟对象的所确定的空间模板/布置。例如,由参与者空间状态确定器468定义的空间模板/布置可代表在舞台内显示化身的特定位置。在一些示例中,如本文所述,舞台可提供在一些示例中,与一个或多个辅助应用程序470相关联的给定虚拟对象可以以代表非排他性舞台或布景的体验至上的显示模式(例如,诸如在舞台内的预定义位置处显示内容)和代表排他性舞台或布景的排他性显示模式(例如,诸如在从预定义位置偏移的位置处显示内容)中任一种来显示,如以下参考图6A至图6I更详细地描述的。In some examples, as shown in FIG. 4 , the spatial coordinator API 462 transmits display stage data 477 (e.g., via a display mode determiner 472) to one or more auxiliary applications 470. In some examples, the display stage data 477 includes information corresponding to whether a stage or scenery is applied to a spatial template/arrangement (e.g., as described above), according to which virtual objects associated with one or more auxiliary applications 470 (e.g., and avatars) are displayed in a shared three-dimensional environment in a multi-user communication session. For example, applying a stage or scenery to a spatial template/arrangement of virtual objects represents whether a participant viewing/experiencing the virtual object maintains spatial liveness (and therefore whether an avatar corresponding to the participant is displayed), as described similarly above. In some examples, as described in more detail below with reference to FIGS. 6A to 6I , the stage is aligned to the determined spatial template/arrangement of the virtual object. For example, the spatial template/arrangement defined by the participant spatial state determiner 468 may represent a specific location within the stage where an avatar is displayed. In some examples, as described herein, a stage may provide that a given virtual object associated with one or more auxiliary applications 470 may be displayed in any of an experience-first display mode representing a non-exclusive stage or set (e.g., such as displaying content at a predefined position within the stage) and an exclusive display mode representing an exclusive stage or set (e.g., such as displaying content at a position offset from a predefined position), as described in more detail below with reference to Figures 6A to 6I.

另外,在一些示例中,显示舞台数据477包括与用于与一个或多个辅助应用程序470相关联的给定虚拟对象的舞台偏移值相对应的信息。例如,如以下参考图6A至图6I更详细地描述的,在共享三维环境中显示虚拟对象的位置可以与舞台内虚拟对象的预先确定的放置位置不同(例如,基于舞台偏移值)。在一些示例中,一个或多个辅助应用程序470利用显示舞台数据477作为用于生成以上所讨论的应用程序数据471和/或空间状态请求数据465的上下文。具体地,如通过图6A至图6I中的示例所讨论的,将显示舞台数据477传输到一个或多个辅助应用程序470向一个或多个辅助应用程序470提供了关于多用户通信会话中的一个或多个用户是否正在以排他性显示模式观看内容(例如,其确定相对于特定空间模板/布置在三维环境中何处显示和/或如何显示内容)和/或在多用户通信会话中是否启用空间实况(例如,是否显示化身)的信息。Additionally, in some examples, the display stage data 477 includes information corresponding to a stage offset value for a given virtual object associated with one or more auxiliary applications 470. For example, as described in more detail below with reference to FIGS. 6A-6I , the location at which a virtual object is displayed in a shared three-dimensional environment may differ from a predetermined placement location of the virtual object within the stage (e.g., based on the stage offset value). In some examples, one or more auxiliary applications 470 utilize the display stage data 477 as context for generating the application data 471 and/or spatial state request data 465 discussed above. Specifically, as discussed by way of example in FIGS. 6A-6I , transmitting the display stage data 477 to one or more auxiliary applications 470 provides one or more auxiliary applications 470 with information regarding whether one or more users in a multi-user communication session are viewing content in an exclusive display mode (e.g., which determines where and/or how content is displayed in a three-dimensional environment relative to a particular spatial template/arrangement) and/or whether spatial live is enabled in the multi-user communication session (e.g., whether an avatar is displayed).

在一些示例中,如图4所示,空间协调器API 462将显示模式更新数据475传输(例如,任选地经由场景整合服务466或直接经由显示模式确定器472)到一个或多个辅助电子设备(例如,传输到在一个或多个辅助电子设备上本地运行的通信应用程序488)。在一些示例中,如参考图6A至图6I更详细地描述的,在多用户通信会话中通信地链接的电子设备可实现“自动跟随”行为,以将多用户通信会话中的用户维持在相同空间状态内(并且因此维持多用户通信会话内的空间实况)。在一些此类示例中,显示模式更新数据475可用作使得该一个或多个辅助电子设备在电子设备401进入多用户通信会话中的排他性显示模式(例如,根据以上所讨论的显示模式参数)的情况下自动跟随电子设备401的命令或其他指令。In some examples, as shown in FIG. 4 , the spatial coordinator API 462 transmits the display mode update data 475 to one or more auxiliary electronic devices (e.g., to a communication application 488 running locally on one or more auxiliary electronic devices) (e.g., optionally via the scene integration service 466 or directly via the display mode determiner 472). In some examples, as described in more detail with reference to FIGS. 6A to 6I , electronic devices communicatively linked in a multi-user communication session may implement an “auto-follow” behavior to maintain users in the multi-user communication session within the same spatial state (and thus maintain spatial liveness within the multi-user communication session). In some such examples, the display mode update data 475 may be used as a command or other instruction to cause the one or more auxiliary electronic devices to automatically follow the electronic device 401 if the electronic device 401 enters an exclusive display mode in the multi-user communication session (e.g., according to the display mode parameters discussed above).

在一些示例中,如图4所示,应用程序空间状态数据463、用户空间状态数据467和显示模式数据469可由空间协调器API 462的场景整合服务466接收。在一些示例中,场景整合服务466根据以上所讨论的被包括在应用程序空间状态数据463、用户空间状态数据467和/或显示模式数据469中的该一个或多个显示参数来生成显示数据487。在一些示例中,由场景整合服务466生成的显示数据487包括用于在多用户通信会话内的共享三维环境中显示一个或多个虚拟对象和/或化身的命令/指令。例如,显示数据487包括关于在共享三维环境中显示的虚拟对象的外观(例如,基于应用程序数据471生成的)、虚拟对象在共享三维环境中显示的位置、化身(或用户的二维表示)在共享三维环境中显示的位置和/或共享三维环境的其他特征/特性的信息。在一些示例中,显示数据487从通信应用程序488传输到电子设备401的操作系统,以用于在与电子设备401通信的显示器处显示,如图3中类似地示出的。In some examples, as shown in FIG. 4 , application space state data 463, user space state data 467, and display mode data 469 may be received by scene integration service 466 of spatial coordinator API 462. In some examples, scene integration service 466 generates display data 487 based on the one or more display parameters included in application space state data 463, user space state data 467, and/or display mode data 469 discussed above. In some examples, display data 487 generated by scene integration service 466 includes commands/instructions for displaying one or more virtual objects and/or avatars in a shared three-dimensional environment within a multi-user communication session. For example, display data 487 includes information about the appearance of virtual objects displayed in the shared three-dimensional environment (e.g., generated based on application data 471), the location of virtual objects displayed in the shared three-dimensional environment, the location of avatars (or two-dimensional representations of users) displayed in the shared three-dimensional environment, and/or other features/characteristics of the shared three-dimensional environment. In some examples, display data 487 is transmitted from communication application 488 to an operating system of electronic device 401 for display at a display in communication with electronic device 401 , as similarly shown in FIG. 3 .

通信应用程序488不限于图4的部件和配置,而是可包括呈多种配置的更少的部件、其他部件或附加部件。另外,上述过程是示例性的,并且因此应当理解,可使用上述部件和/或使用多种配置中的更少、其他或附加的部件来执行更多、更少或不同的操作。现在关注示出了多用户通信会话内的通信应用程序488的上述操作的示例性交互。The communication application 488 is not limited to the components and configurations of FIG. 4 , but may include fewer components, other components, or additional components in a variety of configurations. In addition, the above process is exemplary, and it should be understood that more, fewer, or different operations may be performed using the above components and/or using fewer, other, or additional components in a variety of configurations. Attention is now directed to an exemplary interaction of the above operations of the communication application 488 within a multi-user communication session.

图5A至图5F示出了根据本公开的一些示例的多用户通信会话内的示例性交互。在一些示例中,在第一电子设备560处于与第二电子设备570(以及第三电子设备(为了便于说明而未示出))的多用户通信会话中时,使用第一电子设备560来呈现三维环境550A,并且使用第二电子设备570来呈现三维环境550B。在一些示例中,电子设备560/570任选地对应于以上所讨论的电子设备360/370。在一些示例中,三维环境550A/550B包括电子设备560/570位于其中的物理环境的捕获部分。例如,三维环境550A包括桌子(例如,桌子的表示506')和窗口(例如,窗口的表示509'),并且三维环境550B包括咖啡桌(例如,咖啡桌的表示508')和落地灯(例如,落地灯的表示507')。在一些示例中,三维环境550A/550B任选地对应于以上参考图3描述的三维环境350A/350B。如上所述,三维环境还包括分别与第一电子设备360、第二电子设备370和第三电子设备的用户相对应的化身517/515/519。在一些示例中,化身515/517任选地对应于以上参考图3描述的化身315/317。Figures 5A to 5F illustrate exemplary interactions within a multi-user communication session according to some examples of the present disclosure. In some examples, when a first electronic device 560 is in a multi-user communication session with a second electronic device 570 (and a third electronic device (not shown for ease of illustration)), a three-dimensional environment 550A is presented using the first electronic device 560, and a three-dimensional environment 550B is presented using the second electronic device 570. In some examples, electronic devices 560/570 optionally correspond to the electronic devices 360/370 discussed above. In some examples, three-dimensional environment 550A/550B includes a captured portion of the physical environment in which electronic device 560/570 is located. For example, three-dimensional environment 550A includes a table (e.g., representation 506' of the table) and a window (e.g., representation 509' of the window), and three-dimensional environment 550B includes a coffee table (e.g., representation 508' of the coffee table) and a floor lamp (e.g., representation 507' of the floor lamp). In some examples, the three-dimensional environment 550A/550B optionally corresponds to the three-dimensional environment 350A/350B described above with reference to FIG3. As described above, the three-dimensional environment also includes avatars 517/515/519 corresponding to users of the first electronic device 360, the second electronic device 370, and the third electronic device, respectively. In some examples, the avatars 515/517 optionally correspond to the avatars 315/317 described above with reference to FIG3.

如以上参考图3类似地描述的,第一电子设备560的用户、第二电子设备570的用户和第三电子设备的用户可共享多用户通信会话内的空间状态540(例如,基线空间状态)(例如,由图5A中表示空间状态540的圆内的椭圆515A、517A和519A的放置表示)。在一些示例中,空间状态540任选地对应于以上参考图3所讨论的空间状态340。如以上类似地描述的,当第一电子设备560的用户、第二电子设备570的用户和第三电子设备的用户处于多用户通信会话内的空间状态540时,用户在共享三维环境中具有第一(例如,预定义)空间布置(例如,由图5A中表示空间状态540的圆中的椭圆515A、517A和519A的位置和/或椭圆之间的距离表示),使得第一电子设备560、第二电子设备570和第三电子设备(未示出)维持用户的视点的位置(例如,其对应于表示空间状态540的圆中的椭圆515A、517A和519A的位置)与每个电子设备处的虚拟内容之间的一致空间关系(例如,空间实况)。As similarly described above with reference to FIG. 3 , users of first electronic device 560, second electronic device 570, and third electronic device may share a spatial state 540 (e.g., a baseline spatial state) within a multi-user communication session (e.g., represented by the placement of ellipses 515A, 517A, and 519A within the circle representing spatial state 540 in FIG. 5A ). In some examples, spatial state 540 optionally corresponds to spatial state 340 discussed above with reference to FIG. 3 . As similarly described above, when a user of the first electronic device 560, a user of the second electronic device 570, and a user of the third electronic device are in a spatial state 540 within a multi-user communication session, the users have a first (e.g., predefined) spatial arrangement in a shared three-dimensional environment (e.g., represented by the positions of ellipses 515A, 517A, and 519A in the circle representing the spatial state 540 in FIG. 5A and/or the distances between the ellipses), such that the first electronic device 560, the second electronic device 570, and the third electronic device (not shown) maintain a consistent spatial relationship (e.g., spatial reality) between the positions of the user's viewpoints (e.g., which correspond to the positions of the ellipses 515A, 517A, and 519A in the circle representing the spatial state 540) and the virtual content at each electronic device.

如图5A所示,第一电子设备560任选地显示与在第一电子设备560上运行的相应应用程序(例如,可配置为在三维环境550A中显示内容的应用程序,诸如视频播放器应用程序)相关联的应用程序窗口530。例如,如图5A所示,应用程序窗口530任选地显示对第一电子设备560的用户可见的视频内容(例如,对应于电影、电视剧集或其他视频剪辑)。在一些示例中,应用程序窗口530与抓取器条示能表示535(例如,操纵条)一起显示,可选择该抓取器条示能表示以发起应用程序窗口530在三维环境550A内的移动。另外,如图5A所示,应用程序窗口可包括回放控件556,可选择该回放控件以控制在应用程序窗口530中显示的视频内容的回放(例如,倒回视频内容、暂停视频内容、快进通过视频内容等)。As shown in FIG5A , the first electronic device 560 optionally displays an application window 530 associated with a corresponding application (e.g., an application that can be configured to display content in the three-dimensional environment 550A, such as a video player application) running on the first electronic device 560. For example, as shown in FIG5A , the application window 530 optionally displays video content (e.g., corresponding to a movie, a television series, or other video clip) visible to a user of the first electronic device 560. In some examples, the application window 530 is displayed with a grabber bar indication 535 (e.g., a control bar) that can be selected to initiate movement of the application window 530 within the three-dimensional environment 550A. In addition, as shown in FIG5A , the application window may include a playback control 556 that can be selected to control playback of the video content displayed in the application window 530 (e.g., rewind the video content, pause the video content, fast forward through the video content, etc.).

在一些示例中,应用程序窗口530可以是共享三维环境中的共享虚拟对象。例如,如图5A所示,应用程序窗口530还可显示在第二电子设备570处的三维环境550B中。如图5A所示,应用程序窗口530可与以上所讨论的抓取器条示能表示535和回放控件556一起显示。在一些示例中,因为应用程序窗口530是共享虚拟对象,所以应用程序窗口530(和应用程序窗口530的视频内容)也可对于第三电子设备(未示出)的用户可见。如以上先前所讨论的,在图5A中,第一电子设备560的用户、第二电子设备570的用户和第三电子设备(未示出)的用户可共享多用户通信会话内的空间状态(例如,基线空间状态)540。因此,如图5A所示,当共享第一空间状态540时,用户(例如,由椭圆515A、519A和517A表示)在共享三维环境内维持与应用程序窗口530(由表示空间状态540的圆中的线表示)的空间实况。In some examples, the application window 530 can be a shared virtual object in a shared three-dimensional environment. For example, as shown in FIG. 5A , the application window 530 can also be displayed in a three-dimensional environment 550B at the second electronic device 570. As shown in FIG. 5A , the application window 530 can be displayed together with the grabber bar indicator 535 and the playback control 556 discussed above. In some examples, because the application window 530 is a shared virtual object, the application window 530 (and the video content of the application window 530) can also be visible to the user of the third electronic device (not shown). As previously discussed above, in FIG. 5A , the user of the first electronic device 560, the user of the second electronic device 570, and the user of the third electronic device (not shown) can share a spatial state (e.g., a baseline spatial state) 540 within a multi-user communication session. Therefore, as shown in FIG. 5A , when the first spatial state 540 is shared, the user (e.g., represented by ellipses 515A, 519A, and 517A) maintains a spatial live with the application window 530 (represented by a line in a circle representing the spatial state 540) within the shared three-dimensional environment.

如先前参考图3所讨论的,在共享三维环境中显示的对象可具有定义对象类型的取向。例如,对象可以是竖直取向的对象(例如,第一类型的对象)或水平取向的对象(例如,第二类型的对象)。如图5A所示,应用程序窗口530任选地是三维环境550A/550B中的竖直取向的对象(例如,相对于第一电子设备560的用户、第二电子设备570的用户和第三电子设备的用户的视点)。如以上参考图4所讨论的,应用程序窗口530以基于应用程序窗口530的对象类型(例如,对象取向)(例如,由应用程序空间状态确定器464确定)的空间状态(例如,默认空间状态)显示在三维环境550A/550B中。另选地,如以上所讨论的,在一些示例中,应用程序窗口530以对应于选定(例如,指定)空间状态(例如,不必然基于对象类型但由与应用程序窗口530相关联的应用程序标记为优选空间状态的空间状态)的空间状态显示在三维环境550A/550B中。如图5A所示,在一些示例中,因为应用程序窗口530是三维环境550A/550B中的竖直取向的对象,所以化身相对于应用程序窗口530以第一空间布置/模板来布置。例如,如图所示,化身以并排空间布置/模板来布置,如在第一空间状态540中所反映的,使得在第一电子设备560处,化身515和化身519位于第一电子设备560的用户的视点附近/旁边(例如,左侧),并且在第二电子设备570处,化身519和化身517位于第二电子设备570的用户的视点附近/旁边(例如,右侧)。As previously discussed with reference to FIG. 3 , an object displayed in a shared three-dimensional environment may have an orientation that defines the type of object. For example, an object may be a vertically oriented object (e.g., an object of the first type) or a horizontally oriented object (e.g., an object of the second type). As shown in FIG. 5A , the application window 530 is optionally a vertically oriented object in the three-dimensional environment 550A/550B (e.g., relative to the viewpoints of the user of the first electronic device 560, the user of the second electronic device 570, and the user of the third electronic device). As discussed above with reference to FIG. 4 , the application window 530 is displayed in the three-dimensional environment 550A/550B in a spatial state (e.g., a default spatial state) based on the object type (e.g., object orientation) of the application window 530 (e.g., determined by the application spatial state determiner 464). Alternatively, as discussed above, in some examples, the application window 530 is displayed in the three-dimensional environment 550A/550B in a spatial state corresponding to a selected (e.g., specified) spatial state (e.g., a spatial state that is not necessarily based on the object type but is marked as a preferred spatial state by the application associated with the application window 530). As shown in Fig. 5A, in some examples, because application window 530 is a vertically oriented object in three-dimensional environment 550A/550B, the avatars are arranged in a first spatial arrangement/template relative to application window 530. For example, as shown, the avatars are arranged in a side-by-side spatial arrangement/template, as reflected in first spatial state 540, such that at first electronic device 560, avatar 515 and avatar 519 are located near/next to (e.g., on the left side) the viewpoint of the user of first electronic device 560, and at second electronic device 570, avatar 519 and avatar 517 are located near/next to (e.g., on the right side) the viewpoint of the user of second electronic device 570.

另外,在一些示例中,如图5A所示,当化身按以上所讨论的第一空间模板来布置时,相邻化身可分开第一距离557A(例如,从一个化身的中心到相邻化身的中心测量的或者与相邻化身之间的间隙相对应)。例如,如图5A所示,由椭圆515A表示的化身515与由椭圆519A表示的化身519分开与第一距离557A相对应的第一空间分离。另外,在一些示例中,如图5A所示,化身可以与应用程序窗口530分开第二距离559A(例如,从每个化身到应用程序窗口530的中心测量的)。在一些示例中,第一距离557A不同于(例如,小于)第二距离559A。如以上参考图4所描述的,第一空间模板中的分离间距(例如,第一距离557A和/或第二距离559A的值)由第一电子设备560和第二电子设备570自动地确定(一起确定或单独确定(例如,由在电子设备上运行的图4中的通信应用程序488自动地选择))。另选地,如以上参考图4所描述的,第一空间模板中的分离间距由与应用程序窗口530相关联的应用程序选择(例如,经由图4中的空间状态请求数据465)。In addition, in some examples, as shown in FIG. 5A , when the avatars are arranged according to the first spatial template discussed above, adjacent avatars may be separated by a first distance 557A (e.g., measured from the center of one avatar to the center of an adjacent avatar or corresponding to the gap between adjacent avatars). For example, as shown in FIG. 5A , avatar 515 represented by ellipse 515A is separated from avatar 519 represented by ellipse 519A by a first spatial separation corresponding to first distance 557A. In addition, in some examples, as shown in FIG. 5A , the avatars may be separated from application window 530 by a second distance 559A (e.g., measured from each avatar to the center of application window 530). In some examples, first distance 557A is different from (e.g., less than) second distance 559A. As described above with reference to FIG. 4 , the separation spacing in the first spatial template (e.g., the values of first distance 557A and/or second distance 559A) is automatically determined by first electronic device 560 and second electronic device 570 (determined together or determined separately (e.g., automatically selected by communication application 488 in FIG. 4 running on the electronic devices)). Alternatively, as described above with reference to FIG. 4 , the separation spacing in the first space template is selected by an application associated with application window 530 (eg, via space state request data 465 in FIG. 4 ).

因此,如果水平取向的共享对象显示在三维环境550A/550B中,则化身可以相对于该对象以与以上所讨论的第一空间布置/模板不同的第二空间布置/模板来布置。例如,如图5B所示,具有水平取向的共享虚拟托盘555可显示在共享三维环境中。在一些示例中,如图5B所示,虚拟托盘555可以与虚拟杯552(例如,设置在虚拟托盘555的顶部)和抓取器条示能表示535一起显示,可选择该抓取器条示能表示以发起虚拟托盘555在三维环境550A/550B中的移动。在一些示例中,如图5B所示,当在共享三维环境中显示第二类型的对象(例如,水平取向的对象)时,相对于该对象以第二空间布置/模板来显示化身。例如,如图5B所示,因为虚拟托盘555是水平取向的对象(例如,并且任选地是体积对象),所以如在空间状态540中所指示的,化身相对于虚拟托盘555以圆形布置来布置,使得在第一电子设备560处,从第一电子设备560的用户的视点来看,化身515位于虚拟托盘555的左侧并且化身519位于虚拟托盘555的右侧,并且在第二电子设备570处,从第二电子设备570的用户的视点来看,化身519位于虚拟托盘555的后面并且化身517位于虚拟托盘555的右侧。另外,在一些示例中,如图5B所示,当化身以第二空间模板来布置时,相邻化身可分开第三距离557B。例如,如图5B所示,由椭圆515A表示的化身515与由椭圆517A表示的化身517分开与第三距离557B相对应的第二空间分离。另外,在一些示例中,如图5B所示,化身可以与虚拟托盘555分开第四距离559B。在一些示例中,第三距离557B不同于(例如,小于)或等于第四距离559B。此外,在一些示例中,以上参考图5A所讨论的第一空间模板中提供的空间分离可以与图5B所示的第二空间模板中提供的空间分离不同(例如,由于对象类型的差异和/或应用程序的差异)。Thus, if a horizontally oriented shared object is displayed in the three-dimensional environment 550A/550B, the avatar may be arranged relative to the object in a second spatial arrangement/template that is different from the first spatial arrangement/template discussed above. For example, as shown in FIG. 5B , a shared virtual tray 555 having a horizontal orientation may be displayed in the shared three-dimensional environment. In some examples, as shown in FIG. 5B , the virtual tray 555 may be displayed with a virtual cup 552 (e.g., disposed on top of the virtual tray 555) and a gripper bar enable representation 535 that may be selected to initiate movement of the virtual tray 555 in the three-dimensional environment 550A/550B. In some examples, as shown in FIG. 5B , when an object of a second type (e.g., a horizontally oriented object) is displayed in the shared three-dimensional environment, the avatar is displayed relative to the object in a second spatial arrangement/template. For example, as shown in FIG. 5B , because virtual tray 555 is a horizontally oriented object (e.g., and optionally a volumetric object), the avatars are arranged in a circular arrangement relative to virtual tray 555 as indicated in spatial state 540, such that at first electronic device 560, from the viewpoint of the user of first electronic device 560, avatar 515 is located on the left side of virtual tray 555 and avatar 519 is located on the right side of virtual tray 555, and at second electronic device 570, from the viewpoint of the user of second electronic device 570, avatar 519 is located behind virtual tray 555 and avatar 517 is located on the right side of virtual tray 555. In addition, in some examples, as shown in FIG. 5B , when the avatars are arranged in the second spatial template, adjacent avatars may be separated by a third distance 557B. For example, as shown in FIG. 5B , avatar 515 represented by ellipse 515A is separated from avatar 517 represented by ellipse 517A by a second spatial separation corresponding to third distance 557B. Additionally, in some examples, as shown in FIG5B , the avatar may be separated from the virtual tray 555 by a fourth distance 559B. In some examples, the third distance 557B is different from (e.g., less than) or equal to the fourth distance 559B. Additionally, in some examples, the spatial separation provided in the first spatial template discussed above with reference to FIG5A may be different from the spatial separation provided in the second spatial template shown in FIG5B (e.g., due to differences in object types and/or differences in applications).

在一些示例中,返回参考图4,空间协调器API 462基于从一个或多个辅助应用程序470接收的空间状态请求数据465来确定用于共享三维环境中的虚拟对象的空间模板/布置。在一些示例中,空间状态请求数据465包括与所请求的空间模板/布置相对应的信息,以及任选地一个或多个辅助应用程序470的应用程序状态的变化。例如,如上所述并且如图5B所示,虚拟托盘555可包括位于虚拟托盘555顶部的虚拟杯552。在一些示例中,与虚拟托盘555相关联的相应应用程序可改变状态(例如,自动地或响应于用户输入),使得如图5C所示,虚拟托盘555的显示在三维环境550A/550B中发生改变。例如,如图5C所示,第一电子设备560和第二电子设备570从在虚拟托盘555顶部显示虚拟杯552转变为在三维环境550A/550B中的窗口532中显示虚拟杯552的表示(例如,放大的二维表示)。在一些示例中,如图5C所示,当相应应用程序的显示状态改变时,化身相对于虚拟对象的空间布置任选地也改变。例如,在图5C中,虚拟杯552在窗口532内的显示引起三维环境550A/550B中的对象类型的变化(例如,从水平取向到竖直取向),这使得空间布置/模板也改变,使得图5B中的空间状态540中的化身515/519/517从处于圆形空间布置转变为处于如图5C所示的并排空间布置。In some examples, referring back to FIG. 4 , the space coordinator API 462 determines a space template/arrangement for virtual objects in a shared three-dimensional environment based on the space state request data 465 received from one or more auxiliary applications 470. In some examples, the space state request data 465 includes information corresponding to the requested space template/arrangement, and optionally a change in the application state of one or more auxiliary applications 470. For example, as described above and shown in FIG. 5B , the virtual tray 555 may include a virtual cup 552 located at the top of the virtual tray 555. In some examples, the corresponding application associated with the virtual tray 555 may change state (e.g., automatically or in response to user input) so that the display of the virtual tray 555 changes in the three-dimensional environment 550A/550B as shown in FIG. 5C . For example, as shown in FIG. 5C , the first electronic device 560 and the second electronic device 570 transition from displaying the virtual cup 552 at the top of the virtual tray 555 to displaying a representation of the virtual cup 552 (e.g., an enlarged two-dimensional representation) in the window 532 in the three-dimensional environment 550A/550B. In some examples, as shown in Figure 5C, when the display state of the corresponding application changes, the spatial arrangement of the avatar relative to the virtual object optionally also changes. For example, in Figure 5C, the display of the virtual cup 552 within the window 532 causes a change in the object type in the three-dimensional environment 550A/550B (e.g., from a horizontal orientation to a vertical orientation), which causes the spatial arrangement/template to also change, so that the avatars 515/519/517 in the spatial state 540 in Figure 5B change from being in a circular spatial arrangement to being in a side-by-side spatial arrangement as shown in Figure 5C.

在一些示例中,化身515/519/517的空间布置可以不必然基于在共享三维环境中显示的虚拟对象的对象类型。例如,如以上所讨论的,当在三维环境550A/550B中显示竖直取向的对象诸如应用程序窗口530时,化身515/519/517可以以并排空间布置来显示,并且当显示水平取向的对象诸如虚拟托盘555时,化身515/519/517可以以圆形空间布置来显示。然而,在一些实例中,相应应用程序可请求(例如,经由图4中的空间状态请求数据465)与以上所讨论的规范不同的用于对象的空间布置。例如,如图5D所示,在一些示例中,尽管在三维环境550A/550B中显示水平取向的对象(例如,虚拟托盘555),但是化身515/519/517相对于水平取向的对象以并排空间布置/模板来布置。因此,如以上所讨论的,图4的应用程序空间状态确定器464可基于所请求的空间模板/布置(经由空间状态请求数据465提供的)来定义用于虚拟对象的空间状态参数,该空间状态参数控制化身(例如,化身515/519/517)相对于虚拟对象的空间模板/布置。In some examples, the spatial arrangement of the avatars 515/519/517 may not necessarily be based on the object type of the virtual object displayed in the shared three-dimensional environment. For example, as discussed above, when a vertically oriented object such as an application window 530 is displayed in the three-dimensional environment 550A/550B, the avatars 515/519/517 may be displayed in a side-by-side spatial arrangement, and when a horizontally oriented object such as a virtual tray 555 is displayed, the avatars 515/519/517 may be displayed in a circular spatial arrangement. However, in some instances, the corresponding application may request (e.g., via the spatial state request data 465 in FIG. 4) a spatial arrangement for the object that is different from the specification discussed above. For example, as shown in FIG. 5D, in some examples, although a horizontally oriented object (e.g., a virtual tray 555) is displayed in the three-dimensional environment 550A/550B, the avatars 515/519/517 are arranged in a side-by-side spatial arrangement/template relative to the horizontally oriented object. Thus, as discussed above, the application spatial state determiner 464 of Figure 4 may define spatial state parameters for a virtual object based on a requested spatial template/arrangement (provided via spatial state request data 465), which spatial state parameters control an avatar (e.g., avatar 515/519/517) relative to the spatial template/arrangement of the virtual object.

在一些示例中,当相对于虚拟托盘555(例如,水平取向的对象)以图5D所示的并排空间布置(例如,或其他空间布置,诸如图5B中的圆形空间布置)来布置化身515/519/517时,虚拟托盘555(例如,或其他水平取向的对象)的中心点可定位在(例如,对准到)空间状态540中的中心位置处。例如,如图5D中的空间状态540中所指示的,空间状态540中的中心位置由圆551指示。然而,在一些示例中,如图5D所示,虚拟托盘555可以相对于由圆551表示的中心位置定位在虚拟托盘555的面向前方的表面或一侧处,而不是在虚拟托盘555的中心处。例如,如先前在图5B所示,当虚拟托盘555显示在共享三维环境中而化身515/519/517以圆形空间布置来布置时,虚拟托盘555对准/锚定到虚拟托盘555的中心处的由圆551表示的中心位置(例如,虚拟托盘555的水平主体中的中心点)。如图5D所示,在一些示例中,当虚拟托盘555呈现在共享三维环境中而化身515/519/517以如以上所讨论的并排空间布置来布置时,虚拟托盘555(例如,或其他水平取向的对象)对准到虚拟托盘555的面向前方的一侧处的由圆551表示的中心位置,如图5D中的空间状态540所示,使得虚拟托盘555的面向前方的表面居中地位于与化身519相对应的第三电子设备(未示出)的用户的视点前方。例如,将虚拟托盘555(例如,或其他水平取向的对象)锚定到虚拟托盘555的面向前方的一侧处的空间状态540的中心位置的一个优点是避免以使得虚拟托盘555的面向前方的一侧与用户和/或化身515/519/517的视点相交的方式呈现虚拟托盘555(例如,当虚拟托盘555的尺寸大到足以横过模板的中心与化身的定位之间的距离时)。相反,如以上所讨论的,虚拟托盘555的面向前方的一侧定位在由圆551表示的中心位置处,使得虚拟托盘555在共享三维环境中的空间中视觉上看起来向后延伸(例如,而不是在空间中朝向用户的视点视觉上看起来向前延伸)。应当指出的是,在一些示例中,将虚拟托盘555(或更一般地,水平取向的对象)锚定到虚拟托盘555的面向前方的一侧处的空间状态540中的中心位置任选地仅应用于化身515/519/517的并排空间布置(例如,而不是以上所讨论并在图5B中示出的圆形空间布置)。In some examples, when the avatars 515/519/517 are arranged in the side-by-side spatial arrangement shown in FIG. 5D (e.g., or other spatial arrangements, such as the circular spatial arrangement in FIG. 5B ) relative to the virtual tray 555 (e.g., the horizontally oriented object), the center point of the virtual tray 555 (e.g., or other horizontally oriented object) may be positioned at (e.g., aligned to) the center position in the spatial state 540. For example, as indicated in the spatial state 540 in FIG. 5D , the center position in the spatial state 540 is indicated by circle 551. However, in some examples, as shown in FIG. 5D , the virtual tray 555 may be positioned at a front-facing surface or side of the virtual tray 555 relative to the center position represented by circle 551, rather than at the center of the virtual tray 555. For example, as previously shown in FIG5B , when the virtual tray 555 is displayed in the shared three-dimensional environment and the avatars 515/519/517 are arranged in a circular spatial arrangement, the virtual tray 555 is aligned/anchored to a center position represented by circle 551 at the center of the virtual tray 555 (e.g., a center point in the horizontal body of the virtual tray 555). As shown in FIG5D , in some examples, when the virtual tray 555 is presented in the shared three-dimensional environment and the avatars 515/519/517 are arranged in a side-by-side spatial arrangement as discussed above, the virtual tray 555 (e.g., or other horizontally oriented object) is aligned to a center position represented by circle 551 at a forward-facing side of the virtual tray 555, as shown in the spatial state 540 in FIG5D , so that the forward-facing surface of the virtual tray 555 is centered in front of the viewpoint of the user of the third electronic device (not shown) corresponding to the avatar 519. For example, one advantage of anchoring the virtual tray 555 (e.g., or other horizontally oriented object) to the center position of the spatial state 540 at the forward-facing side of the virtual tray 555 is to avoid presenting the virtual tray 555 in a manner such that the forward-facing side of the virtual tray 555 intersects the viewpoint of the user and/or avatar 515/519/517 (e.g., when the size of the virtual tray 555 is large enough to traverse the distance between the center of the template and the location of the avatar). Instead, as discussed above, the forward-facing side of the virtual tray 555 is positioned at the center position represented by the circle 551 so that the virtual tray 555 visually appears to extend backward in space in the shared three-dimensional environment (e.g., rather than visually appearing to extend forward in space toward the user's viewpoint). It should be noted that in some examples, anchoring the virtual tray 555 (or more generally, a horizontally oriented object) to a center position in the spatial state 540 at the forward-facing side of the virtual tray 555 is optionally applied only to a side-by-side spatial arrangement of avatars 515/519/517 (e.g., rather than the circular spatial arrangement discussed above and shown in FIG. 5B ).

在一些示例中,尽管允许并排空间布置用于多用户通信会话内的三维环境550A/550B中的竖直取向的对象和水平取向的对象,但是对于圆形空间布置而言可能不一定如此。例如,促进多用户通信会话的通信应用程序(例如,图4中的488)可限制/防止将圆形空间布置用于竖直取向的对象,诸如应用程序窗口530。具体地,当显示竖直取向的对象时,可防止化身515/517/519的圆形空间布置,因为竖直取向的对象任选地是二维对象(例如,平面对象),其中内容显示在竖直取向的对象的面向前方的表面上。在此类实例中启用圆形空间布置可使得多用户通信会话中的一个或多个用户的视点以这样的方式被定位(例如,在竖直取向的对象后面):在竖直取向的对象的面向前方的表面中显示的内容被遮挡或完全在视野之外,这将降低用户体验。在一些此类示例中,参考图4,如果发起竖直取向的对象的显示(例如,经由应用程序数据471)并且一个或多个辅助应用程序470传输以圆形空间布置来显示竖直取向的对象的请求(例如,经由空间状态请求数据465),则空间协调器API 462覆写以圆形空间布置来显示竖直取向的对象的请求(例如,经由应用程序空间状态确定器464)并且使得竖直取向的对象以以上所讨论的并排空间布置来显示。In some examples, while side-by-side spatial arrangements are allowed for vertically oriented objects and horizontally oriented objects in the three-dimensional environment 550A/550B within a multi-user communication session, this may not necessarily be the case for circular spatial arrangements. For example, a communication application (e.g., 488 in FIG. 4 ) that facilitates a multi-user communication session may limit/prevent the use of circular spatial arrangements for vertically oriented objects, such as application window 530. Specifically, circular spatial arrangements of avatars 515/517/519 may be prevented when displaying vertically oriented objects because the vertically oriented objects are optionally two-dimensional objects (e.g., planar objects) with content displayed on a forward-facing surface of the vertically oriented objects. Enabling circular spatial arrangements in such instances may cause the viewpoint of one or more users in the multi-user communication session to be positioned (e.g., behind a vertically oriented object) in such a manner that content displayed in the forward-facing surface of the vertically oriented object is obscured or completely out of view, which would degrade the user experience. In some such examples, referring to FIG. 4 , if display of vertically oriented objects is initiated (e.g., via application data 471) and one or more auxiliary applications 470 transmit a request to display the vertically oriented objects in a circular spatial arrangement (e.g., via spatial state request data 465), the spatial coordinator API 462 overrides the request to display the vertically oriented objects in a circular spatial arrangement (e.g., via application spatial state determiner 464) and causes the vertically oriented objects to be displayed in the side-by-side spatial arrangement discussed above.

如本文先前所述并且如图5A至图5E所示,在一些示例中,当多用户通信会话内的用户正在体验空间实况时(例如,因为空间实况被启用),与用户相对应的化身显示在共享三维环境中。例如,如图5E所示并且如先前所讨论的,因为在多用户通信会话中启用空间实况,所以当在三维环境550A/550B中显示共享应用程序窗口530时,在三维环境550A/550B中显示与参与多用户通信会话的用户相对应的化身515/519/517。返回参考图4,如先前所讨论的,由空间协调器API 462的参与者空间状态确定器468执行对在多用户通信会话中是否启用空间实况的确定。在一些示例中,参与者空间状态确定器468基于多用户通信会话中的参与者的数量来确定是否启用空间实况。在一些示例中,如果参与者的数量在参与者的阈值数量(诸如3、4、5、6或8个参与者)内,则启用空间实况,并且如果参与者的数量大于参与者的阈值数量,则不启用空间实况。如图5E所示,在多用户通信会话中当前存在三个参与者,在以上所讨论的阈值数量内。因此,在图5E中,在多用户通信会话中启用空间实况,并且在共享三维环境中显示化身515/519/517,如图所示。As previously described herein and as shown in Figures 5A to 5E, in some examples, when a user within a multi-user communication session is experiencing spatial live (e.g., because spatial live is enabled), an avatar corresponding to the user is displayed in a shared three-dimensional environment. For example, as shown in Figure 5E and as previously discussed, because spatial live is enabled in a multi-user communication session, when a shared application window 530 is displayed in a three-dimensional environment 550A/550B, an avatar 515/519/517 corresponding to the user participating in the multi-user communication session is displayed in the three-dimensional environment 550A/550B. Referring back to Figure 4, as previously discussed, the determination of whether spatial live is enabled in a multi-user communication session is performed by the participant spatial state determiner 468 of the spatial coordinator API 462. In some examples, the participant spatial state determiner 468 determines whether spatial live is enabled based on the number of participants in the multi-user communication session. In some examples, if the number of participants is within a threshold number of participants (such as 3, 4, 5, 6, or 8 participants), spatial live is enabled, and if the number of participants is greater than the threshold number of participants, spatial live is not enabled. As shown in Figure 5E, there are currently three participants in the multi-user communication session, which is within the threshold number discussed above. Therefore, in Figure 5E, spatial live is enabled in the multi-user communication session, and avatars 515/519/517 are displayed in a shared three-dimensional environment, as shown.

在一些示例中,如果多用户通信会话内的参与者的数量增加到大于以上所讨论的参与者的阈值数量的数量,则在多用户通信会话中任选地禁用空间实况。例如,在图5F中,三个附加用户已经加入多用户通信会话(例如,三个附加电子设备与第一电子设备560、第二电子设备570和第三电子设备通信),使得现在总共存在六个参与者,如空间状态540中所指示的。在一些示例中,因为参与者的数量大于以上所讨论的阈值数量,所以促进多用户通信会话的通信应用程序针对多用户通信会话禁用空间实况。具体地,参考图4,参与者空间状态确定器468确定当三个附加用户(例如,由图5F中的椭圆541、543和545表示)加入多用户通信会话(任选地经由用户输入数据481B传达)时,参与者的总数超过参与者的阈值数量,并且因此禁用空间实况(例如,经由用户空间状态数据467传达)。因此,因为在多用户通信会话中禁用空间实况,所以与多用户通信会话中的用户相对应的化身不再被显示在共享三维环境550A/550B中。例如,如图5F所示,第一电子设备560停止化身515/519的显示并且显示画布525,该画布包括多通信会话中的用户(例如,第一电子设备560的用户之外的用户)的表示(例如,二维图像、视频流或其他图形),包括第二电子设备570的用户的表示515A、第三电子设备的用户的表示519A以及附加用户的表示541A/543A/545A。类似地,如图5F所示,第二电子设备570任选地停止化身517/519的显示并且显示画布525,该画布包括多通信会话中的用户(例如,第二电子设备570的用户之外的用户)的表示。在一些示例中,当在图5F中的多用户通信会话中禁用空间实况时,第一电子设备560呈现多用户通信会话中的其他用户的音频(例如,经由用户的相应电子设备的麦克风检测到的语音或其他音频),如音频气泡514所指示的,并且第二电子设备570呈现多通信会话中的其他用户中的用户的音频,如音频气泡512所指示的。在一些示例中,电子设备的用户的音频可以被空间化、以单声道来呈现或以立体声来呈现。In some examples, if the number of participants within a multi-user communication session increases to a number greater than the threshold number of participants discussed above, spatial live is optionally disabled in the multi-user communication session. For example, in FIG. 5F, three additional users have joined the multi-user communication session (e.g., three additional electronic devices communicate with the first electronic device 560, the second electronic device 570, and the third electronic device), so that there are now a total of six participants, as indicated in the spatial state 540. In some examples, because the number of participants is greater than the threshold number discussed above, the communication application that facilitates the multi-user communication session disables spatial live for the multi-user communication session. Specifically, with reference to FIG. 4, the participant spatial state determiner 468 determines that when three additional users (e.g., represented by ellipses 541, 543, and 545 in FIG. 5F) join the multi-user communication session (optionally communicated via user input data 481B), the total number of participants exceeds the threshold number of participants, and spatial live is therefore disabled (e.g., communicated via user spatial state data 467). Therefore, because spatial live is disabled in the multi-user communication session, the avatars corresponding to the users in the multi-user communication session are no longer displayed in the shared three-dimensional environment 550A/550B. For example, as shown in FIG. 5F , the first electronic device 560 stops displaying the avatars 515/519 and displays a canvas 525 that includes representations (e.g., two-dimensional images, video streams, or other graphics) of the users in the multi-communication session (e.g., users other than the users of the first electronic device 560), including a representation 515A of the user of the second electronic device 570, a representation 519A of the user of the third electronic device, and representations 541A/543A/545A of the additional users. Similarly, as shown in FIG. 5F , the second electronic device 570 optionally stops displaying the avatars 517/519 and displays a canvas 525 that includes representations of the users in the multi-communication session (e.g., users other than the users of the second electronic device 570). In some examples, when spatial live is disabled in the multi-user communication session in FIG5F , first electronic device 560 presents audio of other users in the multi-user communication session (e.g., voice or other audio detected via microphones of the users' respective electronic devices), as indicated by audio bubble 514, and second electronic device 570 presents audio of users among the other users in the multi-communication session, as indicated by audio bubble 512. In some examples, the audio of the users of the electronic devices may be spatialized, presented in mono, or presented in stereo.

另外,在图5F中,当在多用户通信会话中禁用空间实况时,三维环境550A/550B不再是真实共享环境。例如,返回参考图4,当参与者空间状态确定器468将空间实况定义为被禁用(例如,经由用户空间状态数据467)时,空间协调器API 462不再根据由应用程序空间状态确定器464定义的空间布置/模板来显示应用程序窗口530。因此,如图5F所示,应用程序窗口530任选地不再在两个三维环境550A/550B中显示,使得应用程序窗口530不再是多用户通信会话内的共享体验。在一些此类示例中,如图5F所示,应用程序窗口530被重新显示为第一电子设备560的用户私有的窗口(例如,因为第一电子设备560的用户任选地初始启动并共享应用程序窗口530)。因此,如以上参考图3类似地讨论的,在第二电子设备570处,三维环境550B包括应用程序窗口530"的表示,其不再包括应用程序窗口530的内容(例如,不包括先前所讨论的视频内容)。In addition, in FIG. 5F , when spatial live is disabled in the multi-user communication session, the three-dimensional environment 550A/550B is no longer a real shared environment. For example, referring back to FIG. 4 , when the participant spatial state determiner 468 defines spatial live as disabled (e.g., via the user spatial state data 467 ), the spatial coordinator API 462 no longer displays the application window 530 according to the spatial arrangement/template defined by the application spatial state determiner 464. Therefore, as shown in FIG. 5F , the application window 530 is optionally no longer displayed in the two three-dimensional environments 550A/550B, so that the application window 530 is no longer a shared experience within the multi-user communication session. In some such examples, as shown in FIG. 5F , the application window 530 is redisplayed as a window private to the user of the first electronic device 560 (e.g., because the user of the first electronic device 560 optionally initially launched and shared the application window 530). 3, at the second electronic device 570, the three-dimensional environment 550B includes a representation of the application window 530" that no longer includes the content of the application window 530 (eg, does not include the video content discussed previously).

因此,如上所述,提供促进通信应用程序与一个或多个相应应用程序之间的通信的API(例如,图4的空间协调器API 462)使得虚拟对象(例如,诸如应用程序窗口530或虚拟托盘555)能够以这样的方式显示在共享三维环境中:符合空间实况规则并且使得虚拟对象能够向多用户通信会话中的所有用户清楚地显示,这是其优点。现在关注多用户通信会话内的进一步示例性交互。Thus, as described above, providing an API (e.g., spatial coordinator API 462 of FIG. 4 ) that facilitates communication between a communication application and one or more corresponding applications enables virtual objects (e.g., such as application window 530 or virtual tray 555) to be displayed in a shared three-dimensional environment in a manner that complies with spatial real-time rules and enables the virtual objects to be clearly displayed to all users in a multi-user communication session, which is an advantage. Now focus on further exemplary interactions within a multi-user communication session.

图6A至图6L示出了根据本公开的一些示例的多用户通信会话内的示例性交互。在一些示例中,第一电子设备660和第二电子设备670可在多用户通信会话中通信地链接,如图6A所示。在一些示例中,在第一电子设备660处于与第二电子设备670的多用户通信会话中时,使用第一电子设备660来呈现三维环境650A,并且使用第二电子设备670来呈现三维环境650B。在一些示例中,电子设备660/670任选地对应于以上所讨论的电子设备560/570和/或图3中的电子设备360/370。在一些示例中,三维环境650A/650B包括电子设备660/670位于其中的物理环境的捕获部分。例如,三维环境650A包括窗口(例如,窗口的表示609'),并且三维环境650B包括咖啡桌(例如,咖啡桌的表示608')和落地灯(例如,落地灯的表示607')。在一些示例中,三维环境650A/650B任选地对应于上述三维环境550A/550B和/或图3中的三维环境350A/350B。如上所述,三维环境还包括与电子设备670/660的用户相对应的化身615/617。在一些示例中,化身615/617任选地对应于上述化身515/517和/或图3中的化身315/317。Figures 6A to 6L illustrate exemplary interactions within a multi-user communication session according to some examples of the present disclosure. In some examples, a first electronic device 660 and a second electronic device 670 may be communicatively linked in a multi-user communication session, as shown in Figure 6A. In some examples, when the first electronic device 660 is in a multi-user communication session with the second electronic device 670, the first electronic device 660 is used to present a three-dimensional environment 650A, and the second electronic device 670 is used to present a three-dimensional environment 650B. In some examples, the electronic device 660/670 optionally corresponds to the electronic device 560/570 discussed above and/or the electronic device 360/370 in Figure 3. In some examples, the three-dimensional environment 650A/650B includes a captured portion of the physical environment in which the electronic device 660/670 is located. For example, the three-dimensional environment 650A includes a window (e.g., a representation 609' of the window), and the three-dimensional environment 650B includes a coffee table (e.g., a representation 608' of the coffee table) and a floor lamp (e.g., a representation 607' of the floor lamp). In some examples, the three-dimensional environment 650A/650B optionally corresponds to the three-dimensional environment 550A/550B described above and/or the three-dimensional environment 350A/350B in Figure 3. As described above, the three-dimensional environment also includes an avatar 615/617 corresponding to the user of the electronic device 670/660. In some examples, the avatar 615/617 optionally corresponds to the avatar 515/517 described above and/or the avatar 315/317 in Figure 3.

如图6A所示,第一电子设备660和第二电子设备670任选地显示与在电子设备660/670上运行的相应应用程序(例如,可配置为在三维环境650A/650B中显示与游戏(“游戏A”)相对应的内容的应用程序,诸如视频游戏应用程序)相关联的用户界面对象636。在一些示例中,如图6A所示,用户界面对象636可包括可选选项623A,可选择该可选选项以发起与游戏A相关联的共享排他性内容(例如,沉浸交互式内容)的显示。在一些示例中,如图6A所示,用户界面对象636在第一电子设备660的用户与第二电子设备670的用户之间共享。另外,如图6A所示,第二电子设备670正在显示包括用户界面A的虚拟对象633,该虚拟对象是第二电子设备670的用户私有的,如本文先前所讨论的。例如,仅第二电子设备670的用户可观看虚拟对象633的用户界面和/或与该虚拟对象的用户界面交互。因此,如以上类似地描述的,在第一电子设备660处显示的三维环境650A包括虚拟对象633的表示,其不包括在第二电子设备670处显示的虚拟对象633的用户界面(例如,用户界面A)。此外,如图6A所示,虚拟对象633任选地与抓取器条示能表示635一起显示,可选择该抓取器条示能表示以发起虚拟对象633在三维环境650B内的移动。As shown in FIG. 6A , the first electronic device 660 and the second electronic device 670 optionally display a user interface object 636 associated with a corresponding application (e.g., an application that can be configured to display content corresponding to a game (“Game A”) in a three-dimensional environment 650A/650B, such as a video game application) running on the electronic device 660/670. In some examples, as shown in FIG. 6A , the user interface object 636 may include a selectable option 623A that can be selected to initiate display of shared exclusive content (e.g., immersive interactive content) associated with Game A. In some examples, as shown in FIG. 6A , the user interface object 636 is shared between a user of the first electronic device 660 and a user of the second electronic device 670. In addition, as shown in FIG. 6A , the second electronic device 670 is displaying a virtual object 633 including a user interface A, which is private to the user of the second electronic device 670, as previously discussed herein. For example, only the user of the second electronic device 670 can view and/or interact with the user interface of the virtual object 633. Thus, as similarly described above, the three-dimensional environment 650A displayed at the first electronic device 660 includes a representation of the virtual object 633 that does not include a user interface (e.g., user interface A) for the virtual object 633 displayed at the second electronic device 670. Additionally, as shown in FIG6A , the virtual object 633 is optionally displayed with a gripper bar enable representation 635 that can be selected to initiate movement of the virtual object 633 within the three-dimensional environment 650B.

如本文先前所讨论的,在图6A中,第一电子设备660的用户和第二电子设备670的用户可在多用户通信会话内共享相同空间状态(例如,基线空间状态)640。在一些示例中,第一空间状态640任选地对应于以上所讨论的空间状态540和/或以上参考图3所讨论的空间状态340。如以上类似地描述的,当第一电子设备660的用户、第二电子设备670的用户和第三电子设备(未示出)的用户在多用户通信会话内共享第一空间状态640时,用户在共享三维环境中体验空间实况(例如,由图6A中表示空间状态640的圆中的椭圆615A和617A的位置和/或椭圆之间的距离表示),使得第一电子设备660、第二电子设备670和第三电子设备(未示出)维持用户的视点的位置(例如,其对应于三维环境650A/650B中的化身617/615的位置)与每个电子设备处的虚拟内容(例如,虚拟对象633)之间的一致空间关系。As previously discussed herein, in FIG. 6A , a user of a first electronic device 660 and a user of a second electronic device 670 may share the same spatial state (e.g., a baseline spatial state) 640 within a multi-user communication session. In some examples, the first spatial state 640 optionally corresponds to the spatial state 540 discussed above and/or the spatial state 340 discussed above with reference to FIG. 3 . As similarly described above, when the user of the first electronic device 660, the user of the second electronic device 670, and the user of a third electronic device (not shown) share the first spatial state 640 within the multi-user communication session, the users experience the spatial reality (e.g., represented by the position of ellipses 615A and 617A in the circle representing the spatial state 640 in FIG. 6A and/or the distance between the ellipses) in the shared three-dimensional environment, so that the first electronic device 660, the second electronic device 670, and the third electronic device (not shown) maintain a consistent spatial relationship between the position of the user's viewpoint (e.g., which corresponds to the position of the avatar 617/615 in the three-dimensional environment 650A/650B) and the virtual content (e.g., virtual object 633) at each electronic device.

在图6A中,当在三维环境650B中显示虚拟对象633时,第二电子设备670检测指向可选选项623A的选择输入672A。例如,当第二电子设备670的用户的注视指向可选选项623A时,第二电子设备670检测到捏合输入(例如,其中用户的手的食指和拇指进行接触的捏合输入)、轻击或触摸输入(例如,由手的食指提供)、口头命令,或一些其他直接或间接输入。6A , when the virtual object 633 is displayed in the three-dimensional environment 650B, the second electronic device 670 detects a selection input 672A directed to the selectable option 623A. For example, when the gaze of the user of the second electronic device 670 is directed to the selectable option 623A, the second electronic device 670 detects a pinch input (e.g., a pinch input in which the index finger and thumb of the user's hand make contact), a tap or touch input (e.g., provided by the index finger of the hand), a verbal command, or some other direct or indirect input.

在一些示例中,如图6B所示,响应于检测到对可选选项623A的选择,第二电子设备670发起用于在多用户通信会话内的共享三维环境中显示共享内容(例如,共享沉浸式体验)的过程。在一些示例中,如图6B所示,发起用于显示共享内容的过程包括转变为三维环境650B的排他性显示。例如,响应于检测到对使得排他性内容显示的可选选项623A的选择,第二电子设备670停止所有其他内容在三维环境650B中的显示,诸如图6A中的虚拟对象633。In some examples, as shown in FIG6B , in response to detecting a selection of selectable option 623A, the second electronic device 670 initiates a process for displaying shared content (e.g., a shared immersive experience) in a shared three-dimensional environment within the multi-user communication session. In some examples, as shown in FIG6B , initiating a process for displaying shared content includes transitioning to an exclusive display of the three-dimensional environment 650B. For example, in response to detecting a selection of selectable option 623A to cause exclusive content display, the second electronic device 670 stops display of all other content in the three-dimensional environment 650B, such as the virtual object 633 in FIG6A .

在一些示例中,如图6B所示,多用户通信会话中的电子设备可实现“自动跟随”行为,以将多用户通信会话中的用户维持在相同空间状态内(并且因此维持多用户通信会话内的空间实况)。例如,当第二电子设备670的用户选择可选选项623A来显示与图6A中的游戏A相关联的排他性内容时,第二电子设备670可以向第一电子设备660传输(例如,直接地或间接地)用于使得第一电子设备660自动跟随第二电子设备670的一个或多个命令。具体地,参考图4,对使得第二电子设备670转变为排他性显示模式的可选选项623A的选择任选地以输入数据483的形式被传输到空间协调器API 462,并且被传输到第一电子设备660的该一个或多个命令任选地呈显示模式更新数据475的形式,类似于以上先前所讨论的。如图6B所示,响应于接收到由第二电子设备670传输的该一个或多个命令,第一电子设备660也转变为排他性显示模式并且停止显示其他内容(例如,诸如图6A中的表示633")。因此,第一电子设备660的用户和第二电子设备670的用户保持与相同空间状态相关联,并且在多用户通信会话内保持启用空间实况。In some examples, as shown in FIG6B , electronic devices in a multi-user communication session may implement an “auto-follow” behavior to maintain the users in the multi-user communication session in the same spatial state (and thus maintain spatial reality within the multi-user communication session). For example, when a user of the second electronic device 670 selects the selectable option 623A to display exclusive content associated with game A in FIG6A , the second electronic device 670 may transmit (e.g., directly or indirectly) to the first electronic device 660 one or more commands for causing the first electronic device 660 to automatically follow the second electronic device 670. Specifically, referring to FIG4 , the selection of the selectable option 623A to cause the second electronic device 670 to transition to an exclusive display mode is optionally transmitted to the spatial coordinator API 462 in the form of input data 483, and the one or more commands transmitted to the first electronic device 660 are optionally in the form of display mode update data 475, similar to what was previously discussed above. As shown in FIG6B , in response to receiving the one or more commands transmitted by the second electronic device 670, the first electronic device 660 also transitions to an exclusive display mode and stops displaying other content (e.g., such as representation 633" in FIG6A ). Thus, the user of the first electronic device 660 and the user of the second electronic device 670 remain associated with the same spatial state and spatial live remains enabled within the multi-user communication session.

在一些示例中,正在共享三维环境中显示的以上所讨论的视频游戏应用程序的内容可与空间模板/布置相关联。例如,如本文先前所讨论的,参考图4,空间协调器API 462的应用程序空间状态确定器464定义应用程序空间状态参数,该应用程序空间状态参数定义用于要显示的与视频游戏应用程序相关联的内容的空间模板。因此,在一些示例中,如图6B所示,当第一电子设备660和第二电子设备670进入排他性显示模式时,根据所确定的空间模板/布置在共享三维环境中重新布置/移位化身615/617的位置,如类似于以上所讨论的。另外,因为与视频游戏应用程序相关联的内容是排他性内容(例如,诸如沉浸交互式内容),所以舞台648与用于多用户通信会话内的共享三维环境中的内容的所确定的空间模板/布置相关联。在一些示例中,如图6B所示,舞台648与为化身615/617定义的空间布置/模板对准(例如,根据以上先前所描述的应用程序空间状态参数)。具体地,在图6B中,所定义的空间布置/模板在舞台648内分配显示化身615/617的定位或“座位”(并且其中电子设备660/670的用户的视点在空间上位于多用户通信会话内)。在一些示例中,如以上类似地讨论的,舞台648可以是排他性舞台,使得与游戏A相关联的共享内容的显示仅对共享相同空间状态(例如,第一空间状态640)的那些用户可见且可交互。In some examples, the content of the video game application discussed above being displayed in the shared three-dimensional environment may be associated with a spatial template/arrangement. For example, as previously discussed herein, with reference to FIG. 4, the application spatial state determiner 464 of the spatial coordinator API 462 defines application spatial state parameters, which define the spatial template for the content associated with the video game application to be displayed. Therefore, in some examples, as shown in FIG. 6B, when the first electronic device 660 and the second electronic device 670 enter the exclusive display mode, the position of the avatar 615/617 is rearranged/shifted in the shared three-dimensional environment according to the determined spatial template/arrangement, as similar to that discussed above. In addition, because the content associated with the video game application is exclusive content (e.g., such as immersive interactive content), the stage 648 is associated with the determined spatial template/arrangement of the content in the shared three-dimensional environment for the multi-user communication session. In some examples, as shown in FIG. 6B, the stage 648 is aligned with the spatial arrangement/template defined for the avatar 615/617 (e.g., according to the application spatial state parameters previously described above). 6B , the defined spatial arrangement/template assigns positions or “seats” for display avatars 615/617 within stage 648 (and where the viewpoints of users of electronic devices 660/670 are spatially located within the multi-user communication session). In some examples, as similarly discussed above, stage 648 can be an exclusive stage such that display of shared content associated with game A is visible and interactable only to those users sharing the same spatial state (e.g., first spatial state 640).

在一些示例中,如本文先前所提及的,在多用户通信会话内共享内容在舞台648内的显示可以是用户至上的或体验至上的。在一些示例中,共享内容在舞台648内的体验至上的显示将使得共享内容被显示在舞台648内的预定义位置处,诸如在舞台648的中心处(例如,和/或在舞台648内的用户的座位的平均位置处)。在一些示例中,如图6C所示,共享内容在舞台内的用户至上的显示使得共享内容被显示在从舞台648的预定义位置649(例如,中心)偏移的定位处。在一些示例中,共享内容的用户至上的显示使得能够向多用户通信会话内的每个用户显示共享内容的单独版本(例如,单独用户界面或对象),而不是对多用户通信会话内的所有用户可见的单个共享内容。例如,如图6C所示,在舞台648内为第二电子设备670的用户确定第一放置位置651-1(例如,在化身615的前面)并且为第一电子设备660的用户确定第二放置位置651-2(例如,在化身617的前面)。在一些示例中,返回参考图4,根据其计算第一放置位置651-1和第二放置位置651-2的舞台偏移值基于先前所讨论的显示舞台数据477。In some examples, as previously mentioned herein, the display of shared content within stage 648 within a multi-user communication session may be user-first or experience-first. In some examples, the experience-first display of shared content within stage 648 will cause the shared content to be displayed at a predefined location within stage 648, such as at the center of stage 648 (e.g., and/or at the average location of the users' seats within stage 648). In some examples, as shown in FIG6C , the user-first display of shared content within the stage causes the shared content to be displayed at a location offset from a predefined location 649 (e.g., the center) of stage 648. In some examples, the user-first display of shared content enables a separate version of the shared content (e.g., a separate user interface or object) to be displayed to each user within the multi-user communication session, rather than a single shared content visible to all users within the multi-user communication session. For example, as shown in FIG6C , a first placement location 651-1 is determined for a user of second electronic device 670 (e.g., in front of avatar 615) and a second placement location 651-2 is determined for a user of first electronic device 660 (e.g., in front of avatar 617) within stage 648. In some examples, referring back to FIG4 , the stage offset values from which first placement location 651-1 and second placement location 651-2 are calculated are based on display stage data 477 discussed previously.

在一些示例中,如图6D所示,显示与以上所讨论的视频游戏应用程序相关联的共享内容包括显示包括多个交互式对象655的游戏用户界面。如上所述并且如图6D所示,多个交互式对象655任选地显示在舞台648内的第一放置位置651-1和第二放置位置651-2处。在一些示例中,如图6D所示,因为多个交互式对象655的显示是用户至上的,如以上所讨论的,所以向多用户通信会话中的每个用户提供多个交互式对象655的单独版本。In some examples, as shown in Figure 6D, displaying shared content associated with the video game application discussed above includes displaying a game user interface including a plurality of interactive objects 655. As described above and shown in Figure 6D, the plurality of interactive objects 655 are optionally displayed at a first placement location 651-1 and a second placement location 651-2 within the stage 648. In some examples, as shown in Figure 6D, because the display of the plurality of interactive objects 655 is user-first, as discussed above, a separate version of the plurality of interactive objects 655 is provided to each user in the multi-user communication session.

另选地,如上所述,在一些示例中,当处于排他性显示模式时,可将共享内容显示为体验至上的。例如,在图6E中,共享三维环境可另选地包括应用程序窗口630,该应用程序窗口在多用户通信会话内通信地链接的第一电子设备660的用户、第二电子设备670的用户和第三电子设备(未示出)的用户之间共享。在一些示例中,如图6E所示,应用程序窗口630任选地显示对第一电子设备660的用户、第二电子设备670的用户和第三电子设备的用户可见的视频内容(例如,与电影、电视剧集或其他视频剪辑相对应)。在一些示例中,应用程序窗口630与抓取器条示能表示635(例如,操纵条)一起显示,可选择该抓取器条示能表示以发起应用程序窗口630在三维环境650A/650B内的移动。另外,如图6E所示,应用程序窗口可包括回放控件656,可选择该回放控件以控制在应用程序窗口630中显示的视频内容的回放(例如,倒回视频内容、暂停视频内容、快进通过视频内容等)。Alternatively, as described above, in some examples, when in an exclusive display mode, the shared content may be displayed as experience-first. For example, in FIG. 6E , the shared three-dimensional environment may alternatively include an application window 630 that is shared between a user of a first electronic device 660, a user of a second electronic device 670, and a user of a third electronic device (not shown) that are communicatively linked within a multi-user communication session. In some examples, as shown in FIG. 6E , the application window 630 optionally displays video content (e.g., corresponding to a movie, a TV series, or other video clip) visible to a user of the first electronic device 660, a user of the second electronic device 670, and a user of the third electronic device. In some examples, the application window 630 is displayed with a grabber bar indication 635 (e.g., a manipulation bar), which may be selected to initiate movement of the application window 630 within the three-dimensional environment 650A/650B. Additionally, as shown in FIG. 6E , the application window may include playback controls 656 that may be selected to control playback of the video content displayed in the application window 630 (eg, rewind the video content, pause the video content, fast forward through the video content, etc.).

如本文先前所讨论的,在图6E中,第一电子设备660的用户、第二电子设备670的用户和第三电子设备(未示出)的用户可在多用户通信会话内共享相同第一空间状态(例如,基线空间状态)640。如以上类似地描述的,当第一电子设备660的用户、第二电子设备670的用户和第三电子设备(未示出)的用户在多用户通信会话内共享第一空间状态640时,用户在共享三维环境中体验空间实况(例如,由图6E中表示空间状态640的圆中的椭圆615A、617A和619A的位置和/或椭圆之间的距离表示),使得第一电子设备660、第二电子设备670和第三电子设备(未示出)维持用户的视点的位置(例如,其对应于表示空间状态640的圆内的化身617/615/619的位置)与每个电子设备处的虚拟内容(例如,应用程序窗口630)之间的一致空间关系。如图6E所示,当处于第一空间状态640时,用户(例如,由其化身615、619和617表示)被并排定位,其中应用程序窗口630的面向前方的表面面朝向用户。As previously discussed herein, in FIG6E , users of the first electronic device 660, the second electronic device 670, and the third electronic device (not shown) may share the same first spatial state (e.g., baseline spatial state) 640 within a multi-user communication session. As similarly described above, when users of the first electronic device 660, the second electronic device 670, and the third electronic device (not shown) share the first spatial state 640 within the multi-user communication session, the users experience a spatial reality (e.g., represented by the positions of ellipses 615A, 617A, and 619A within the circle representing the spatial state 640 in FIG6E and/or the distances between the ellipses) in a shared three-dimensional environment, such that the first electronic device 660, the second electronic device 670, and the third electronic device (not shown) maintain a consistent spatial relationship between the position of the user's viewpoint (e.g., which corresponds to the position of the avatar 617/615/619 within the circle representing the spatial state 640) and the virtual content (e.g., application window 630) at each electronic device. As shown in FIG. 6E , when in the first spatial state 640 , the users (eg, represented by their avatars 615 , 619 , and 617 ) are positioned side by side with the front-facing surface of the application window 630 facing toward the users.

在一些示例中,在共享三维环境中以窗口模式显示应用程序窗口630的视频内容。例如,如图6E所示,在三维环境中显示的视频内容受到应用程序窗口630的尺寸的约束/限制。在一些示例中,可另选地在三维环境中以全屏模式显示应用程序窗口630的视频内容。如本文所用,视频内容在三维环境650A/650B中以“全屏模式”显示任选地指代视频内容在三维环境650A/650B中以相应尺寸和/或以相应视觉强调显示。例如,电子设备660/670可在三维环境650A/650B中以比显示视频内容的应用程序窗口630的尺寸大(例如,1.2x、1.4x、1.5x、2x、2.5x或3x)的尺寸显示视频内容。另外,例如,视频内容可以比在三维环境650A/650B中显示的其他虚拟对象和/或物理对象的表示大的视觉强调来显示。如下文更详细描述,当以全屏模式显示视频内容时,围绕电子设备的物理环境的捕获部分可在三维环境中变得褪色和/或变暗。如图6E所示,三维环境650A/650B中的应用程序窗口630可包括可选选项626,可选择该可选选项以使得应用程序窗口630的视频内容以全屏模式显示。In some examples, the video content of the application window 630 is displayed in a window mode in a shared three-dimensional environment. For example, as shown in FIG. 6E, the video content displayed in the three-dimensional environment is constrained/restricted by the size of the application window 630. In some examples, the video content of the application window 630 may alternatively be displayed in a full-screen mode in the three-dimensional environment. As used herein, the display of video content in a "full-screen mode" in a three-dimensional environment 650A/650B optionally refers to the display of video content in a corresponding size and/or with corresponding visual emphasis in the three-dimensional environment 650A/650B. For example, the electronic device 660/670 may display the video content in a three-dimensional environment 650A/650B with a size larger than the size of the application window 630 displaying the video content (e.g., 1.2x, 1.4x, 1.5x, 2x, 2.5x, or 3x). In addition, for example, the video content may be displayed with a visual emphasis larger than the representation of other virtual objects and/or physical objects displayed in the three-dimensional environment 650A/650B. As described in more detail below, when the video content is displayed in full screen mode, the captured portion of the physical environment surrounding the electronic device may become faded and/or dimmed in the three-dimensional environment. As shown in Figure 6E, the application window 630 in the three-dimensional environment 650A/650B may include a selectable option 626 that can be selected to cause the video content of the application window 630 to be displayed in full screen mode.

如图6E所示,第一电子设备660的用户任选地正在提供指向应用程序窗口630中的可选选项626的选择输入672B。例如,在第一电子设备660的用户的目光涉及可选择选项626时,第一电子设备660检测到捏合输入(例如,其中用户的食指和拇指进行接触的捏合输入)、轻击或触摸输入(例如,由用户的食指提供)、口头命令,或一些其他直接或间接输入。6E , the user of the first electronic device 660 is optionally providing a selection input 672B directed to the selectable option 626 in the application window 630. For example, while the gaze of the user of the first electronic device 660 is directed to the selectable option 626, the first electronic device 660 detects a pinch input (e.g., a pinch input in which the user's index finger and thumb make contact), a tap or touch input (e.g., provided by the user's index finger), a verbal command, or some other direct or indirect input.

在一些示例中,响应于接收到选择输入672B,第一电子设备660在三维环境650A中以全屏模式显示视频内容,如图6F所示,其包括将应用程序窗口的显示转变为排他性显示模式,如以上类似地讨论的。例如,如图6F所示,当第一电子设备660以全屏模式显示视频内容时,第一电子设备660增大正在显示视频内容的应用程序窗口630的尺寸。另外,在一些示例中,如图6F所示,多用户通信会话中的电子设备可实现以上所讨论的自动跟随行为,以将多用户通信会话中的用户维持在相同空间状态内。例如,当第一电子设备660的用户激活图6E中的全屏模式时,第一电子设备660可向第二电子设备670和第三电子设备(未示出)传输(例如,直接地或间接地)用于使得第二电子设备670和第三电子设备自动跟随第一电子设备660的一个或多个命令。如图6F所示,在一些示例中,响应于接收到由第一电子设备660传输的一个或多个命令,第二电子设备670和第三电子设备以全屏模式显示应用程序窗口630的视频内容,如上文所讨论。In some examples, in response to receiving the selection input 672B, the first electronic device 660 displays the video content in full screen mode in the three-dimensional environment 650A, as shown in FIG6F, including converting the display of the application window to an exclusive display mode, as discussed similarly above. For example, as shown in FIG6F, when the first electronic device 660 displays the video content in full screen mode, the first electronic device 660 increases the size of the application window 630 that is displaying the video content. In addition, in some examples, as shown in FIG6F, the electronic device in the multi-user communication session can implement the automatic following behavior discussed above to maintain the users in the multi-user communication session in the same spatial state. For example, when the user of the first electronic device 660 activates the full screen mode in FIG6E, the first electronic device 660 can transmit (e.g., directly or indirectly) one or more commands for causing the second electronic device 670 and the third electronic device to automatically follow the first electronic device 660 to the second electronic device 670 and the third electronic device (not shown). As shown in Figure 6F, in some examples, in response to receiving one or more commands transmitted by the first electronic device 660, the second electronic device 670 and the third electronic device display the video content of the application window 630 in full screen mode, as discussed above.

另外,在一些示例中,当电子设备660/670转变为以排他性全屏模式显示应用程序窗口630的视频内容时,舞台648被应用于为化身615/617/619定义的并排空间模板,如图6F所示。在一些示例中,如以上类似地讨论的,舞台648可以是体验至上的舞台。如图6F所示,应用程序窗口630停驻(例如,定位)在多用户通信会话中的舞台648内的预定义位置649(例如,中心位置)处(例如,使得当全屏模式活动时,应用程序窗口630在三维环境650A/650B中不再可移动)。另外,在一些示例中,当以全屏模式呈现视频内容时,第一电子设备660和第二电子设备670在视觉上削弱围绕第一电子设备660和第二电子设备670的物理环境的捕获部分的表示的显示的重要性。例如,如图6F所示,窗口609'的表示以及围绕第一电子设备660的地板、天花板和墙壁的表示的重要性可在三维环境650A中在视觉上被削弱(例如,褪色、变暗或调整为半透明或透明),并且落地灯607'的表示、咖啡桌608'的表示以及围绕第二电子设备670的地板、天花板和墙壁的表示的重要性可在三维环境650B中在视觉上被削弱,使得用户的注意力主要被吸引到放大的应用程序窗口630中的视频内容。In addition, in some examples, when the electronic device 660/670 is converted to displaying the video content of the application window 630 in an exclusive full-screen mode, the stage 648 is applied to the side-by-side space template defined for the avatar 615/617/619, as shown in Figure 6F. In some examples, as discussed similarly above, the stage 648 can be an experience-first stage. As shown in Figure 6F, the application window 630 is parked (e.g., positioned) at a predefined position 649 (e.g., a center position) within the stage 648 in the multi-user communication session (e.g., so that when the full-screen mode is active, the application window 630 is no longer movable in the three-dimensional environment 650A/650B). In addition, in some examples, when presenting video content in full-screen mode, the first electronic device 660 and the second electronic device 670 visually weaken the importance of the display of the representation of the captured portion of the physical environment surrounding the first electronic device 660 and the second electronic device 670. For example, as shown in FIG. 6F , the representation of window 609' and the representation of the floor, ceiling, and walls surrounding the first electronic device 660 may be visually weakened in importance (e.g., faded, dimmed, or adjusted to be translucent or transparent) in the three-dimensional environment 650A, and the representation of the floor lamp 607', the representation of the coffee table 608', and the representation of the floor, ceiling, and walls surrounding the second electronic device 670 may be visually weakened in importance in the three-dimensional environment 650B, so that the user's attention is primarily drawn to the video content in the enlarged application window 630.

在一些示例中,多用户通信会话内的电子设备可另选地不实现以上所讨论的自动跟随行为。例如,在三维环境中显示的特定内容可阻止电子设备中的一个或多个电子设备实现自动跟随行为。例如,在图6G中,当第一电子设备660响应于图6E的选择输入672B而转变为以全屏模式显示应用程序窗口630的视频内容时,第三电子设备自动跟随第一电子设备660,但是第二电子设备670不自动跟随。在一些示例中,当第三电子设备自动跟随第一电子设备660时,第三电子设备的用户加入第一电子设备660的用户进入第二空间状态661,如图6G所示。例如,因为第一电子设备660和第三电子设备(未示出)两者都在以全屏模式显示视频内容,所以第一电子设备660和第三电子设备在多用户通信会话内以相同空间状态661操作,如本文先前所讨论的。另外,如图6G所示,第一电子设备660的用户(例如,由表示空间状态661的圆中的椭圆617A表示)和第三电子设备的用户(例如,由表示空间状态661的圆中的椭圆619A表示)当处于第二空间状态661时以新空间布置/模板来布置。例如,如图6G中表示空间状态661的圆所示,第一电子设备660的用户(例如,由椭圆617A表示)和第三电子设备的用户(例如,由椭圆619A表示)在全屏模式中被并排定位在应用程序窗口630的前面。In some examples, the electronic device within the multi-user communication session may alternatively not implement the automatic following behavior discussed above. For example, specific content displayed in a three-dimensional environment may prevent one or more electronic devices in the electronic device from implementing the automatic following behavior. For example, in Figure 6G, when the first electronic device 660 is transformed to display the video content of the application window 630 in full screen mode in response to the selection input 672B of Figure 6E, the third electronic device automatically follows the first electronic device 660, but the second electronic device 670 does not automatically follow. In some examples, when the third electronic device automatically follows the first electronic device 660, the user of the third electronic device joins the user of the first electronic device 660 to enter the second spatial state 661, as shown in Figure 6G. For example, because both the first electronic device 660 and the third electronic device (not shown) are displaying video content in full screen mode, the first electronic device 660 and the third electronic device operate in the same spatial state 661 within the multi-user communication session, as previously discussed herein. In addition, as shown in FIG6G , the user of the first electronic device 660 (e.g., represented by an ellipse 617A in a circle representing the spatial state 661) and the user of the third electronic device (e.g., represented by an ellipse 619A in a circle representing the spatial state 661) are arranged in a new spatial arrangement/template when in the second spatial state 661. For example, as shown in the circle representing the spatial state 661 in FIG6G , the user of the first electronic device 660 (e.g., represented by an ellipse 617A) and the user of the third electronic device (e.g., represented by an ellipse 619A) are positioned side by side in front of the application window 630 in full screen mode.

如以上先前所提及的,第二电子设备670的用户任选地不自动跟随第一电子设备660加入以全屏模式观看视频内容。具体地,在一些示例中,由于私有窗口662在三维环境650B中的显示,第二电子设备670不自动跟随第一电子设备660。例如,当第一电子设备660的用户提供输入以在图6E中以全屏模式显示应用程序窗口630的视频内容时,第二电子设备670的用户正在观看私有窗口662,如图6G所示。在此类实例中,可能不期望使得第二电子设备670自动跟随第一电子设备660,因为此类操作将使得私有窗口662停止在三维环境650B中显示(例如,无需用户同意)。因此,在一些示例中,当私有窗口662保持显示在三维环境650B中时,第二电子设备670不自动跟随第一电子设备660,如先前所讨论的。在一些示例中,因为第二电子设备670不自动跟随第一电子设备660,所以第二电子设备670以与第一电子设备660和第三电子设备不同的状态操作,这使得第二电子设备670的用户(例如,由表示空间状态640的圆中的椭圆615A表示)保持处于第一空间状态640。此外,如图6G所示,第二电子设备的用户在第一空间状态640内以新空间布置/模板来布置。例如,如图6G中表示空间状态640的圆所示,第三电子设备的用户相对于应用程序窗口630被居中地定位在第一空间状态640内。As previously mentioned above, the user of the second electronic device 670 optionally does not automatically follow the first electronic device 660 to join in watching the video content in full screen mode. Specifically, in some examples, due to the display of the private window 662 in the three-dimensional environment 650B, the second electronic device 670 does not automatically follow the first electronic device 660. For example, when the user of the first electronic device 660 provides input to display the video content of the application window 630 in full screen mode in Figure 6E, the user of the second electronic device 670 is watching the private window 662, as shown in Figure 6G. In such instances, it may not be desirable to make the second electronic device 670 automatically follow the first electronic device 660, because such operations will cause the private window 662 to stop displaying in the three-dimensional environment 650B (e.g., without user consent). Therefore, in some examples, when the private window 662 remains displayed in the three-dimensional environment 650B, the second electronic device 670 does not automatically follow the first electronic device 660, as previously discussed. In some examples, because the second electronic device 670 does not automatically follow the first electronic device 660, the second electronic device 670 operates in a different state from the first electronic device 660 and the third electronic device, which allows the user of the second electronic device 670 (e.g., represented by the ellipse 615A in the circle representing the spatial state 640) to remain in the first spatial state 640. In addition, as shown in FIG. 6G, the user of the second electronic device is arranged in a new spatial arrangement/template within the first spatial state 640. For example, as shown in FIG. 6G by the circle representing the spatial state 640, the user of the third electronic device is centrally positioned within the first spatial state 640 relative to the application window 630.

如图6G所示,因为第二电子设备670的用户不再与第一电子设备660的用户和第三电子设备(未示出)的用户处于相同空间状态,所以三维环境650A/650B不再是真实共享环境。因此,第二电子设备670停止显示与第一电子设备660的用户相对应的化身617以及与第三电子设备(未示出)的用户相对应的化身619。在一些示例中,如图6G所示,因为第一电子设备660的用户和第三电子设备的用户共享相同第二空间状态661,所以与第一电子设备660和第三电子设备的用户相对应的化身617/619保持被显示。例如,如图6G所示,第一电子设备660停止显示与第二电子设备670的用户相对应的化身615,但维持与第三电子设备(未示出)的用户相对应的化身619在三维环境650A中的显示。As shown in Figure 6G, because the user of the second electronic device 670 is no longer in the same spatial state as the user of the first electronic device 660 and the user of the third electronic device (not shown), the three-dimensional environment 650A/650B is no longer a real shared environment. Therefore, the second electronic device 670 stops displaying the avatar 617 corresponding to the user of the first electronic device 660 and the avatar 619 corresponding to the user of the third electronic device (not shown). In some examples, as shown in Figure 6G, because the user of the first electronic device 660 and the user of the third electronic device share the same second spatial state 661, the avatars 617/619 corresponding to the users of the first electronic device 660 and the third electronic device remain displayed. For example, as shown in Figure 6G, the first electronic device 660 stops displaying the avatar 615 corresponding to the user of the second electronic device 670, but maintains the display of the avatar 619 corresponding to the user of the third electronic device (not shown) in the three-dimensional environment 650A.

在一些示例中,如图6G所示,第二电子设备670用与其他电子设备的用户相对应的二维表示来替换化身617/619的显示。例如,如图6G所示,第二电子设备670在三维环境650B中显示第一二维表示625和第二二维表示627。在一些示例中,如以上类似地讨论的,二维表示625/627包括表示第一电子设备660的用户和第三电子设备的用户的图像、视频或其他渲染。类似地,第一电子设备660用与第二电子设备670的用户相对应的二维表示来替换与第二电子设备670的用户相对应的化身615的显示。例如,如图6G所示,第一电子设备660显示二维表示629,该二维表示任选地包括表示第二电子设备670的用户的图像、视频或其他渲染。如图6G所示,第一电子设备660可在第一电子设备660的显示器的预先确定的区域中显示二维表示629。例如,如图6G所示,第一电子设备660在显示器的顶部/上部区域中显示二维表示629。在一些示例中,第二电子设备670相对于应用程序窗口630显示与第一电子设备660和第三电子设备的用户相对应的二维表示625/627。例如,如图6G所示,第二电子设备670在三维环境650B中将二维表示625/627与应用程序窗口630一起(例如,邻近)显示。In some examples, as shown in FIG. 6G, the second electronic device 670 replaces the display of the avatar 617/619 with a two-dimensional representation corresponding to the user of the other electronic device. For example, as shown in FIG. 6G, the second electronic device 670 displays the first two-dimensional representation 625 and the second two-dimensional representation 627 in the three-dimensional environment 650B. In some examples, as discussed similarly above, the two-dimensional representation 625/627 includes an image, video, or other rendering representing the user of the first electronic device 660 and the user of the third electronic device. Similarly, the first electronic device 660 replaces the display of the avatar 615 corresponding to the user of the second electronic device 670 with a two-dimensional representation corresponding to the user of the second electronic device 670. For example, as shown in FIG. 6G, the first electronic device 660 displays a two-dimensional representation 629, which optionally includes an image, video, or other rendering representing the user of the second electronic device 670. As shown in FIG. 6G, the first electronic device 660 may display the two-dimensional representation 629 in a predetermined area of the display of the first electronic device 660. For example, as shown in FIG. 6G, the first electronic device 660 displays the two-dimensional representation 629 in the top/upper area of the display. In some examples, the second electronic device 670 displays the two-dimensional representations 625/627 corresponding to the users of the first electronic device 660 and the third electronic device relative to the application window 630. For example, as shown in FIG6G , the second electronic device 670 displays the two-dimensional representations 625/627 together with (e.g., adjacent to) the application window 630 in the three-dimensional environment 650B.

如上文类似地描述的,化身615/617/619在三维环境650A/650B中的显示任选地伴有与三个电子设备的用户中的每一者的语音相对应的音频效果的呈现,在一些示例中,该音频效果可被空间化以使得音频对三个电子设备的用户表现为从化身615/617/619在三维环境650A/650B中的位置发出。在一些示例中,如图6G所示,当化身615停止在第一电子设备660处的三维环境650A中显示时,第一电子设备660维持第二电子设备670的用户的音频的呈现,如音频气泡616所指示的。类似地,当化身617/619停止在第二电子设备670处的三维环境650B中显示时,第二电子设备670维持第一电子设备660和第三电子设备的用户的音频的呈现,如音频气泡612/614所指示的。然而,在一些示例中,电子设备的用户的音频可不再被空间化并且可替代地以单声道或立体声来呈现。因此,尽管化身617/619不再被显示在三维环境650B中并且化身615不再被显示在三维环境650A中,这三个电子设备的用户仍可继续通信(例如,口头地),因为第一电子设备660、第二电子设备670和第三电子设备(未示出)仍处于多用户通信会话。在其他示例中,电子设备的用户的音频可被空间化,使得音频看起来从其相应二维表示625/627/629发出。As similarly described above, the display of the avatar 615/617/619 in the three-dimensional environment 650A/650B is optionally accompanied by the presentation of an audio effect corresponding to the voice of each of the users of the three electronic devices, which in some examples may be spatialized so that the audio appears to the users of the three electronic devices as emanating from the position of the avatar 615/617/619 in the three-dimensional environment 650A/650B. In some examples, as shown in FIG6G , when the avatar 615 stops being displayed in the three-dimensional environment 650A at the first electronic device 660, the first electronic device 660 maintains the presentation of the audio of the user of the second electronic device 670, as indicated by the audio bubble 616. Similarly, when the avatar 617/619 stops being displayed in the three-dimensional environment 650B at the second electronic device 670, the second electronic device 670 maintains the presentation of the audio of the users of the first electronic device 660 and the third electronic device, as indicated by the audio bubble 612/614. However, in some examples, the audio of the users of the electronic devices may no longer be spatialized and may be presented in mono or stereo instead. Therefore, even though the avatar 617/619 is no longer displayed in the three-dimensional environment 650B and the avatar 615 is no longer displayed in the three-dimensional environment 650A, the users of the three electronic devices may continue to communicate (e.g., verbally) because the first electronic device 660, the second electronic device 670, and the third electronic device (not shown) are still in the multi-user communication session. In other examples, the audio of the users of the electronic devices may be spatialized so that the audio appears to emanate from their respective two-dimensional representations 625/627/629.

如本文先前所提及的,在一些示例中,虽然这三个电子设备的用户与多用户通信会话内的独立空间状态相关联,但用户经历基于与每个用户相关联的空间状态而本地化的空间实况。例如,如先前所讨论的,第一电子设备660处的三维环境650A中的内容的显示(以及与内容的后续交互)可独立于第二电子设备670处的三维环境650B中的内容的显示,尽管应用程序窗口的内容仍可被同步(例如,视频内容(例如,电影或电视节目内容)的相同部分跨第一电子设备660和第二电子设备670在应用程序窗口中进行回放)。As previously mentioned herein, in some examples, although the users of the three electronic devices are associated with independent spatial states within the multi-user communication session, the users experience a spatial reality that is localized based on the spatial state associated with each user. For example, as previously discussed, the display of content in the three-dimensional environment 650A at the first electronic device 660 (and subsequent interaction with the content) can be independent of the display of content in the three-dimensional environment 650B at the second electronic device 670, although the content of the application windows can still be synchronized (e.g., the same portion of video content (e.g., movie or television program content) is played back in application windows across the first electronic device 660 and the second electronic device 670).

在一些示例中,如图6H所示,第二电子设备670可能不再显示私有窗口662。例如,当在图6G中显示私有窗口662时并且在第三电子设备的用户加入第一电子设备660的用户以全屏模式观看应用程序窗口630的视频内容之后,第二电子设备670检测用于关闭私有窗口662的输入(例如,诸如图6G中对关闭选项663的选择)。在一些示例中,在图6H中,因为私有窗口662不再被显示在三维环境650B中,所以加入第一电子设备660和第三电子设备以全屏排他性模式观看应用程序窗口630的视频内容不再存在障碍。在一些示例中,当第二电子设备670确定私有窗口662不再被显示在三维环境650B中时,第二电子设备670对来自第一电子设备660的加入(例如,自动跟随)第一电子设备660以全屏观看视频内容的邀请进行操作。在一些示例中,此类动作包括显示提示用于同步共享视频内容的显示的用户输入的指示。In some examples, as shown in FIG6H, the second electronic device 670 may no longer display the private window 662. For example, when the private window 662 is displayed in FIG6G and after the user of the third electronic device joins the user of the first electronic device 660 to watch the video content of the application window 630 in full screen mode, the second electronic device 670 detects an input for closing the private window 662 (e.g., such as the selection of the close option 663 in FIG6G). In some examples, in FIG6H, because the private window 662 is no longer displayed in the three-dimensional environment 650B, there is no longer an obstacle to joining the first electronic device 660 and the third electronic device to watch the video content of the application window 630 in full screen exclusive mode. In some examples, when the second electronic device 670 determines that the private window 662 is no longer displayed in the three-dimensional environment 650B, the second electronic device 670 operates the invitation from the first electronic device 660 to join (e.g., automatically follow) the first electronic device 660 to watch the video content in full screen. In some examples, such actions include displaying an indication of a user input prompting for synchronizing the display of the shared video content.

例如,如图6H所示,当私有窗口662停止显示在三维环境650B中时,第二电子设备670在三维环境650B中显示与用于以全屏模式观看视频内容的邀请相对应的通知元素620。例如,如图6H所示,通知元素620包括可选择以使得第二电子设备670以全屏模式显示应用程序窗口630的视频内容的第一选项621,以及可选择以使得第二电子设备670关闭通知元素620(并且继续显示应用程序窗口630,如图6H所示)的第二选项622。在一些示例中,通知元素620以另选的方式在三维环境650B中显示。例如,通知元素620可被显示在与第一电子设备660的用户相对应的二维表示627上和/或可被显示为包括可选择选项621和622的二维表示627内的消息(例如,“加入我以全屏观看内容”)。For example, as shown in FIG6H, when the private window 662 stops being displayed in the three-dimensional environment 650B, the second electronic device 670 displays a notification element 620 corresponding to an invitation to view video content in full screen mode in the three-dimensional environment 650B. For example, as shown in FIG6H, the notification element 620 includes a first option 621 that can be selected to cause the second electronic device 670 to display the video content of the application window 630 in full screen mode, and a second option 622 that can be selected to cause the second electronic device 670 to close the notification element 620 (and continue to display the application window 630, as shown in FIG6H). In some examples, the notification element 620 is displayed in the three-dimensional environment 650B in an alternative manner. For example, the notification element 620 may be displayed on a two-dimensional representation 627 corresponding to the user of the first electronic device 660 and/or may be displayed as a message (e.g., "Join me to view content in full screen") within the two-dimensional representation 627 including selectable options 621 and 622.

如图6H所示,第二电子设备670的用户任选地正在提供涉及三维环境650B中的通知元素634中的第一选项621的选择输入672C。例如,在第二电子设备670的用户的目光涉及第一选项621时,第二电子设备670任选地检测到捏合输入、触摸或轻击输入、口头命令,或一些其他直接或间接输入。6H , the user of the second electronic device 670 is optionally providing a selection input 672C related to the first option 621 in the notification element 634 in the three-dimensional environment 650B. For example, when the gaze of the user of the second electronic device 670 is related to the first option 621, the second electronic device 670 optionally detects a pinch input, a touch or tap input, a verbal command, or some other direct or indirect input.

在一些示例中,响应于检测到选择输入672C,第二电子设备670任选地在三维环境650B中以全屏模式呈现应用程序窗口630的视频内容,如图6I所示。例如,如上文类似地描述的,第二电子设备670可在三维环境650B中增加应用程序窗口630的尺寸,使得在三维环境650B中以更大程度的视觉突出显示视频内容。另外,如上文所讨论,第二电子设备670可将应用程序窗口630停靠(例如,将应用程序窗口定位在固定位置(例如,中心位置))在三维环境650B中(例如,使得当全屏模式活动时,应用程序窗口630在三维环境650B中不再可移动)。另外,在一些示例中,当以全屏模式呈现视频内容时,第二电子设备670可在视觉上削弱围绕第二电子设备670的物理环境的捕获部分的表示的重要性。例如,如图6I所示,咖啡桌的表示608'、落地灯的表示607'以及围绕第二电子设备670的地板、天花板和墙壁的表示的重要性可在三维环境650B中在视觉上被削弱(例如,褪色、变暗或调整为半透明或透明),使得在全屏模式中将注意力主要吸引到应用程序窗口630的视频内容。In some examples, in response to detecting the selection input 672C, the second electronic device 670 optionally presents the video content of the application window 630 in the three-dimensional environment 650B in full screen mode, as shown in FIG6I. For example, as similarly described above, the second electronic device 670 may increase the size of the application window 630 in the three-dimensional environment 650B so that the video content is displayed with greater visual prominence in the three-dimensional environment 650B. In addition, as discussed above, the second electronic device 670 may dock the application window 630 (e.g., position the application window in a fixed position (e.g., a center position)) in the three-dimensional environment 650B (e.g., so that when the full screen mode is active, the application window 630 is no longer movable in the three-dimensional environment 650B). In addition, in some examples, when presenting the video content in full screen mode, the second electronic device 670 may visually weaken the importance of the representation of the captured portion of the physical environment surrounding the second electronic device 670. For example, as shown in FIG6I , the representation 608' of the coffee table, the representation 607' of the floor lamp, and the representations of the floor, ceiling, and walls surrounding the second electronic device 670 may be visually diminished in importance (e.g., faded, dimmed, or made translucent or transparent) in the three-dimensional environment 650B so that attention is primarily drawn to the video content of the application window 630 in full screen mode.

在一些示例中,第二电子设备670可自动跟随第一电子设备660(例如,无需用户输入),而不是如以上参考图6H所讨论的那样显示与来自第一电子设备660的加入以全屏模式观看应用程序窗口630的视频内容的邀请相对应的通知(例如,诸如通知元素620)。例如,在图6H中,当私有窗口662不再被显示在三维环境650B中时,第二电子设备670任选地在阈值时间量(例如,在私有窗口662不再被显示之后的0.5、1、2、3、5、8、10分钟等)之后自动转变为以全屏模式显示应用程序窗口630的视频内容。在一些示例中,如果第二电子设备670在阻止以全屏模式显示虚拟内容的阈值时间量过去之前检测到用户输入,诸如在三维环境650B中启动另一私有应用程序,则第二电子设备670放弃加入第一电子设备660和第二电子设备670进入全屏显示模式。In some examples, instead of displaying a notification (e.g., such as notification element 620) corresponding to an invitation from first electronic device 660 to join in viewing the video content of application window 630 in full screen mode as discussed above with reference to FIG. 6H , second electronic device 670 may automatically follow first electronic device 660 (e.g., without user input) as discussed above with reference to FIG. 6H . For example, in FIG. 6H , when private window 662 is no longer displayed in three-dimensional environment 650B, second electronic device 670 optionally automatically transitions to displaying the video content of application window 630 in full screen mode after a threshold amount of time (e.g., 0.5, 1, 2, 3, 5, 8, 10 minutes, etc. after private window 662 is no longer displayed). In some examples, if second electronic device 670 detects user input, such as launching another private application in three-dimensional environment 650B, before the threshold amount of time that prevents display of virtual content in full screen mode has passed, second electronic device 670 abandons joining first electronic device 660 and second electronic device 670 in entering full screen display mode.

在一些示例中,如以上类似地描述的,当第二电子设备670加入第一电子设备660和第三电子设备(未示出)以全屏模式观看视频内容(如图6I所示)时,这三个电子设备的用户变得再次与多用户通信会话内的相同空间状态相关联。例如,如图6I所示,因为第一电子设备660、第二电子设备670和第三电子设备(未示出)正以全屏模式显示视频内容,所以这三个电子设备在多用户通信会话内共享相同空间状态,如本文先前所讨论的。另外,如图6I所示,第一电子设备660的用户(例如,由表示空间状态661的圆中的椭圆617A表示)、第二电子设备670的用户(例如,由表示空间状态661的圆中的椭圆615A表示)和第三电子设备的用户(例如,由表示空间状态661的圆中的椭圆619A表示)在第二空间状态661内以新空间布置/模板(例如,与图6H所示的空间布置/模板相比)来布置。例如,如图6I中表示空间状态661的圆所示,第一电子设备660的用户(例如,由椭圆617A表示)和第三电子设备的用户(例如,由椭圆619A表示)当处于第二空间状态661时向右移位以说明第二电子设备670的用户(例如,由椭圆615A表示)的放置。In some examples, as described similarly above, when the second electronic device 670 joins the first electronic device 660 and the third electronic device (not shown) to watch video content in full screen mode (as shown in FIG. 6I), the users of the three electronic devices become associated with the same spatial state within the multi-user communication session again. For example, as shown in FIG. 6I, because the first electronic device 660, the second electronic device 670, and the third electronic device (not shown) are displaying video content in full screen mode, the three electronic devices share the same spatial state within the multi-user communication session, as previously discussed herein. In addition, as shown in FIG. 6I, the user of the first electronic device 660 (e.g., represented by the ellipse 617A in the circle representing the spatial state 661), the user of the second electronic device 670 (e.g., represented by the ellipse 615A in the circle representing the spatial state 661), and the user of the third electronic device (e.g., represented by the ellipse 619A in the circle representing the spatial state 661) are arranged in the second spatial state 661 with a new spatial arrangement/template (e.g., compared to the spatial arrangement/template shown in FIG. 6H). For example, as shown by the circle representing the spatial state 661 in Figure 6I, the user of the first electronic device 660 (e.g., represented by ellipse 617A) and the user of the third electronic device (e.g., represented by ellipse 619A) are shifted to the right when in the second spatial state 661 to illustrate the placement of the user of the second electronic device 670 (e.g., represented by ellipse 615A).

另外,在一些示例中,如本文先前所描述的,当第二电子设备670的用户加入第一电子设备660的用户和第三电子设备(未示出)的用户进入第二空间状态661时,如图6I所示,这三个电子设备在三维环境650A/650B中重新显示化身615/617/619。例如,如图6I所示,第一电子设备660停止二维表示629的显示(例如,从图6H),并且基于当处于第二空间状态661时所定义的空间布置/模板在三维环境650A中重新显示与第二电子设备670的用户相对应的化身615(例如,化身615/619被显示在第一电子设备660的用户的视点的左侧)。类似地,如图所示,第二电子设备670停止二维表示625/627的显示(例如,从图6H),并且基于当处于第二空间状态661时所定义的空间布置/模板在三维环境650B中重新显示与第一电子设备660的用户相对应的化身617以及与第三电子设备的用户相对应的化身619(例如,化身617/619被显示在第二电子设备670的用户的视点的右侧)。因此,作为一个优点,所公开的方法和API为通信会话中的多个用户提供了共享且未遮蔽的观看体验,其考虑了三维环境中与共享和私有内容的单独用户交互以及用户的单独显示状态。In addition, in some examples, as previously described herein, when the user of the second electronic device 670 joins the user of the first electronic device 660 and the user of the third electronic device (not shown) to enter the second spatial state 661, as shown in FIG6I, the three electronic devices redisplay the avatars 615/617/619 in the three-dimensional environment 650A/650B. For example, as shown in FIG6I, the first electronic device 660 stops display of the two-dimensional representation 629 (e.g., from FIG6H), and redisplays the avatar 615 corresponding to the user of the second electronic device 670 in the three-dimensional environment 650A based on the spatial arrangement/template defined when in the second spatial state 661 (e.g., the avatar 615/619 is displayed to the left of the viewpoint of the user of the first electronic device 660). Similarly, as shown, the second electronic device 670 stops displaying the two-dimensional representation 625/627 (e.g., from FIG. 6H ), and redisplays the avatar 617 corresponding to the user of the first electronic device 660 and the avatar 619 corresponding to the user of the third electronic device in the three-dimensional environment 650B based on the spatial arrangement/template defined when in the second spatial state 661 (e.g., the avatar 617/619 is displayed to the right of the viewpoint of the user of the second electronic device 670). Thus, as an advantage, the disclosed methods and APIs provide a shared and unobstructed viewing experience for multiple users in a communication session that takes into account individual user interactions with shared and private content and individual display states of the users in a three-dimensional environment.

在一些示例中,当第一电子设备660的用户、第二电子设备670的用户和第三电子设备(未示出)的用户处于第二空间状态661时,如图6I所示,如果用户中的一个用户提供用于停止以全屏模式显示视频内容的输入,则可使得用户离开第二空间状态661(例如,并且不再以全屏模式观看视频内容)。例如,如图6I所示,应用程序窗口630包括退出选项638,可选择该退出选项以在以上所讨论的窗口模式中重新显示视频内容,并且如图6E中类似地示出的(例如,并且停止在全屏模式中显示应用程序窗口630的视频内容)。在图6I中,当在三维环境650A/650B中以全屏模式显示应用程序窗口630的视频内容时,第一电子设备660检测由第一电子设备660的用户提供的指向退出选项638的选择输入672D(例如,空中捏合手势、空中轻击或触摸手势、注视停留、口头命令等)。In some examples, when the user of the first electronic device 660, the user of the second electronic device 670, and the user of the third electronic device (not shown) are in the second spatial state 661, as shown in FIG6I, if one of the users provides an input for stopping displaying the video content in full screen mode, the user can be caused to leave the second spatial state 661 (e.g., and no longer watch the video content in full screen mode). For example, as shown in FIG6I, the application window 630 includes an exit option 638, which can be selected to redisplay the video content in the window mode discussed above, and as similarly shown in FIG6E (e.g., and stop displaying the video content of the application window 630 in full screen mode). In FIG6I, when the video content of the application window 630 is displayed in full screen mode in the three-dimensional environment 650A/650B, the first electronic device 660 detects a selection input 672D (e.g., an air pinch gesture, an air tap or touch gesture, a gaze dwell, a verbal command, etc.) pointing to the exit option 638 provided by the user of the first electronic device 660.

在一些示例中,响应于检测到对退出选项638的选择,如图6J所示,第一电子设备660停止以全屏模式显示应用程序窗口630的视频内容,并且以窗口模式重新显示视频内容,如以上参考图6E类似地讨论的。在一些示例中,当第一电子设备660响应于选择输入672D而停止以全屏模式显示视频内容时,多用户通信会话中的其他电子设备可实现以上所讨论的自动跟随行为,以将多用户通信会话中的用户维持在相同空间状态(例如,第一空间状态640)内。因此,在一些示例中,如图6J所示并且如以上类似地讨论的,当第一电子设备660以窗口模式重新显示应用程序窗口630的视频内容时,第二电子设备670(以及第三电子设备(未示出))也停止以全屏模式显示应用程序窗口630的视频内容并且以窗口模式重新显示视频内容。In some examples, in response to detecting a selection of the exit option 638, as shown in FIG6J, the first electronic device 660 stops displaying the video content of the application window 630 in full screen mode and redisplays the video content in window mode, as discussed similarly above with reference to FIG6E. In some examples, when the first electronic device 660 stops displaying the video content in full screen mode in response to the selection input 672D, other electronic devices in the multi-user communication session can implement the automatic follow-up behavior discussed above to maintain the users in the multi-user communication session in the same spatial state (e.g., the first spatial state 640). Therefore, in some examples, as shown in FIG6J and as discussed similarly above, when the first electronic device 660 redisplays the video content of the application window 630 in window mode, the second electronic device 670 (and the third electronic device (not shown)) also stops displaying the video content of the application window 630 in full screen mode and redisplays the video content in window mode.

在一些示例中,当第一电子设备660的用户、第二电子设备670的用户和第三电子设备(未示出)的用户处于第二空间状态661时,用户中的一个用户可使得应用程序窗口630的视频内容(例如,临时地)不再以全屏模式显示,而不使得其他用户不再以全屏模式观看视频内容(例如,不实现以上所讨论的自动跟随行为)。例如,如果电子设备中的一个电子设备在该电子设备处检测到与观看私有内容的请求相对应的输入,则多用户通信会话中的电子设备不实现自动跟随行为。在图6K中,第二电子设备670任选地接收对与消息传送应用程序相关联的传入消息(例如,文本消息、语音消息、电子邮件等)的指示,这使得第二电子设备670在三维环境650B中显示消息通知646。如图6K所示,当第二电子设备670在三维环境650B中显示消息通知646时,第二电子设备670不停止以全屏模式显示应用程序窗口630的视频内容。In some examples, when the user of the first electronic device 660, the user of the second electronic device 670, and the user of the third electronic device (not shown) are in the second spatial state 661, one of the users may cause the video content of the application window 630 to no longer be displayed in full screen mode (e.g., temporarily) without causing the other users to no longer view the video content in full screen mode (e.g., without implementing the automatic follow behavior discussed above). For example, if one of the electronic devices detects an input corresponding to a request to view private content at the electronic device, the electronic devices in the multi-user communication session do not implement the automatic follow behavior. In FIG6K, the second electronic device 670 optionally receives an indication of an incoming message (e.g., a text message, a voice message, an email, etc.) associated with a messaging application, which causes the second electronic device 670 to display a message notification 646 in the three-dimensional environment 650B. As shown in FIG6K, when the second electronic device 670 displays the message notification 646 in the three-dimensional environment 650B, the second electronic device 670 does not stop displaying the video content of the application window 630 in full screen mode.

在图6K中,当在三维环境650B中显示消息通知646时,第二电子设备670检测由第二电子设备670的用户提供的指向消息通知646的选择输入672E(例如,空中捏合手势、空中轻击或触摸手势、注视停留、口头命令等)。另选地,在一些示例中,第二电子设备670检测对按钮(例如,第二电子设备670的物理按钮)或三维环境650B中用于启动与消息通知646相关联的消息传送应用程序的其他选项的选择。在一些示例中,如图6L所示,响应于检测到对消息通知646(或类似输入)的选择,第二电子设备670显示与以上所讨论的消息传送应用程序相关联的消息窗口664。另外,在一些示例中,当第二电子设备670显示作为私有应用程序窗口的消息窗口664时,第二电子设备670停止以全屏模式显示应用程序窗口630的视频内容,并且以窗口模式重新显示视频内容,如以上类似地讨论的。在一些示例中,因为第二电子设备670不再以全屏模式显示应用程序窗口630的视频内容,所以第二电子设备670以与第一电子设备660和第三电子设备不同的状态操作,这使得第二电子设备670的用户(例如,由表示空间状态640的圆中的椭圆615A表示)被置于以上先前所讨论的第一空间状态640。In FIG. 6K , when the message notification 646 is displayed in the three-dimensional environment 650B, the second electronic device 670 detects a selection input 672E (e.g., an air pinch gesture, an air tap or touch gesture, a gaze dwell, a verbal command, etc.) provided by the user of the second electronic device 670 pointing to the message notification 646. Alternatively, in some examples, the second electronic device 670 detects a selection of a button (e.g., a physical button of the second electronic device 670) or other options in the three-dimensional environment 650B for launching a messaging application associated with the message notification 646. In some examples, as shown in FIG. 6L , in response to detecting a selection of the message notification 646 (or similar input), the second electronic device 670 displays a message window 664 associated with the messaging application discussed above. In addition, in some examples, when the second electronic device 670 displays the message window 664 as a private application window, the second electronic device 670 stops displaying the video content of the application window 630 in full screen mode and redisplays the video content in window mode, as discussed similarly above. In some examples, because the second electronic device 670 no longer displays the video content of the application window 630 in full screen mode, the second electronic device 670 operates in a different state from the first electronic device 660 and the third electronic device, which causes the user of the second electronic device 670 (e.g., represented by the ellipse 615A in the circle representing the spatial state 640) to be placed in the first spatial state 640 discussed previously above.

如图6L所示,因为第二电子设备670的用户不再处于与第一电子设备660的用户和第三电子设备(未示出)的用户相同的空间状态,所以三维环境650A/650B不再是真实共享环境。因此,第二电子设备670停止显示与第一电子设备660的用户相对应的化身617以及与第三电子设备(未示出)的用户相对应的化身619。另外,如图6L所示,第一电子设备660停止显示与第二电子设备670的用户相对应的化身615,但维持与第三电子设备(未示出)的用户相对应的化身619在三维环境650A中的显示。在一些示例中,如图6L所示,第二电子设备670用与其他电子设备的用户相对应的二维表示来替换化身617/619的显示。例如,如图6L所示,第二电子设备670在三维环境650B中显示第一二维表示625和第二二维表示627,如以上先前所讨论的。As shown in FIG6L, because the user of the second electronic device 670 is no longer in the same spatial state as the user of the first electronic device 660 and the user of the third electronic device (not shown), the three-dimensional environment 650A/650B is no longer a real shared environment. Therefore, the second electronic device 670 stops displaying the avatar 617 corresponding to the user of the first electronic device 660 and the avatar 619 corresponding to the user of the third electronic device (not shown). In addition, as shown in FIG6L, the first electronic device 660 stops displaying the avatar 615 corresponding to the user of the second electronic device 670, but maintains the display of the avatar 619 corresponding to the user of the third electronic device (not shown) in the three-dimensional environment 650A. In some examples, as shown in FIG6L, the second electronic device 670 replaces the display of the avatar 617/619 with the two-dimensional representation corresponding to the user of other electronic devices. For example, as shown in FIG6L, the second electronic device 670 displays the first two-dimensional representation 625 and the second two-dimensional representation 627 in the three-dimensional environment 650B, as previously discussed above.

在一些示例中,如图6L所示,当第二电子设备670停止以全屏模式显示应用程序窗口630的视频内容时,第一电子设备660和第三电子设备(未示出)放弃实现以上所讨论的自动跟随行为。在一些示例中,第一电子设备660和第三电子设备放弃实现自动跟随行为,因为私有内容(例如,消息窗口664)的启动不被解释为用于主动地停止视频内容在全屏模式中的显示的输入(例如,诸如图6I中对退出选项638的选择)。相反,私有内容的启动被解释为与第二空间状态661的临时分离(例如,与私有内容的临时交互)。因此,在图6L中,如果第二电子设备670的用户诸如经由对关闭选项663的选择提供用于停止消息窗口664的显示的输入,或者如果第二电子设备670的用户在通知元素620中提供对选项621的选择,则第二电子设备670将以全屏模式重新显示应用程序窗口630的视频内容,使得第二电子设备670的用户再次与第一电子设备660的用户和第三电子设备的用户处于相同空间状态(例如,第二空间状态661),如图6K中类似地示出的。In some examples, as shown in FIG6L, when the second electronic device 670 stops displaying the video content of the application window 630 in full screen mode, the first electronic device 660 and the third electronic device (not shown) abandon the automatic follow behavior discussed above. In some examples, the first electronic device 660 and the third electronic device abandon the automatic follow behavior because the launch of the private content (e.g., the message window 664) is not interpreted as an input for actively stopping the display of the video content in full screen mode (e.g., such as the selection of the exit option 638 in FIG6I). Instead, the launch of the private content is interpreted as a temporary separation from the second space state 661 (e.g., a temporary interaction with the private content). Thus, in Figure 6L, if the user of the second electronic device 670 provides input for stopping display of the message window 664, such as via selection of the close option 663, or if the user of the second electronic device 670 provides a selection of option 621 in the notification element 620, the second electronic device 670 will redisplay the video content of the application window 630 in full screen mode, so that the user of the second electronic device 670 is again in the same spatial state (e.g., second spatial state 661) as the user of the first electronic device 660 and the user of the third electronic device, as similarly shown in Figure 6K.

应当理解,视频内容在全屏模式中的排他性显示的上述示例类似地适用于其他排他性沉浸式体验。例如,以上交互适用于沉浸式环境,诸如占据特定用户的视场并且向用户提供特定虚拟环境内的六个移动自由度的虚拟环境。还应当注意,在一些示例中,附加的和/或另选的因素影响对针对多用户通信会话内的特定空间状态是否启用空间实况的确定。例如,当用户转变为排他性显示模式时,尽管用户共享相同空间状态,但在以排他性显示模式观看特定内容时仍可禁用空间实况(例如,化身不再被显示)(例如,因为内容仅可以三个移动自由度(例如,滚动、俯仰和偏航旋转)观看和/或在以排他性显示模式显示内容时为内容提供的舞台不够大,不足以适应用户移动)。It should be understood that the above examples of exclusive display of video content in full screen mode are similarly applicable to other exclusive immersive experiences. For example, the above interactions are applicable to immersive environments, such as a virtual environment that occupies a particular user's field of view and provides the user with six degrees of freedom of movement within a particular virtual environment. It should also be noted that in some examples, additional and/or alternative factors affect the determination of whether spatial live is enabled for a particular spatial state within a multi-user communication session. For example, when a user transitions to an exclusive display mode, spatial live (e.g., the avatar is no longer displayed) may be disabled when viewing particular content in an exclusive display mode, even though the users share the same spatial state (e.g., because the content can only be viewed with three degrees of freedom of movement (e.g., roll, pitch, and yaw rotations) and/or the stage provided for the content when displaying the content in an exclusive display mode is not large enough to accommodate user movement).

另外,应当理解,在本文中示出和描述的示例仅仅是示例性的,并且可以在三维环境内提供用于与例示性内容交互的附加的和/或另选的元素。应当理解,在本文中示出和描述的各种用户界面元素和对象中的每一者的外观、形状、形式和尺寸是示例性的,并且可以提供另选的外观、形状、形式和/或尺寸。例如,表示应用程序窗口的虚拟对象(例如,窗口330、530、662和630)可以不同于矩形形状的另选形状(诸如圆形形状、三角形形状等)提供。在一些示例中,可以经由用户口头命令(例如,“选择选项”口头命令)口头地选择本文描述的各种可选选项(例如,选项623A、选项626和/或选项621和622)、用户界面对象(例如,虚拟对象633)、控制元素(例如,回放控件556或656)等和/或与其交互。另外地或另选地,在一些示例中,可以经由通过与电子设备通信的一个或多个单独输入设备接收的用户输入来选择和/或操纵本文描述的各种选项、用户界面元素、控制元素等。例如,可以经由与电子设备通信的物理输入设备(诸如,鼠标、触控板、键盘等)来接收选择输入。In addition, it should be understood that the examples shown and described herein are merely exemplary, and additional and/or alternative elements for interacting with illustrative content can be provided in a three-dimensional environment. It should be understood that the appearance, shape, form, and size of each of the various user interface elements and objects shown and described herein are exemplary, and alternative appearances, shapes, forms, and/or sizes can be provided. For example, a virtual object representing an application window (e.g., windows 330, 530, 662, and 630) can be provided in an alternative shape (such as a circular shape, a triangular shape, etc.) other than a rectangular shape. In some examples, various optional options described herein (e.g., option 623A, option 626, and/or options 621 and 622), user interface objects (e.g., virtual object 633), control elements (e.g., playback controls 556 or 656), etc. can be verbally selected and/or interacted with via a user verbal command (e.g., a "select option" verbal command). Additionally or alternatively, in some examples, various options, user interface elements, control elements, etc. described herein can be selected and/or manipulated via user input received through one or more separate input devices in communication with the electronic device. For example, selection input can be received via a physical input device in communication with the electronic device (such as a mouse, trackpad, keyboard, etc.).

图7A至图7B示出了根据本公开的一些示例的示出用于基于一个或多个显示参数在多用户通信会话内显示内容的示例性过程的流程图。在一些示例中,过程700在与显示器、一个或多个输入设备和第二电子设备通信的第一电子设备处开始。在一些示例中,第一电子设备和第二电子设备任选地分别为类似于或对应于图2的设备260/270的头戴式显示器。如图7A所示,在一些示例中,在702处,在处于与第二电子设备的通信会话中时,第一电子设备经由显示器呈现包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境,其中基于第一组显示参数满足第一组标准来呈现计算机生成的环境。例如,如图6A所示,第一电子设备660显示包括与第二电子设备670的用户相对应的化身615和用户界面对象636的三维环境650A,并且第二电子设备670显示包括与第一电子设备660的用户相对应的化身617和用户界面对象636的三维环境650B。7A to 7B show a flowchart of an exemplary process for displaying content within a multi-user communication session based on one or more display parameters according to some examples of the present disclosure. In some examples, process 700 starts at a first electronic device that communicates with a display, one or more input devices, and a second electronic device. In some examples, the first electronic device and the second electronic device are optionally head-mounted displays similar to or corresponding to the device 260/270 of FIG. 2, respectively. As shown in FIG. 7A, in some examples, at 702, when in a communication session with a second electronic device, the first electronic device presents a computer-generated environment including an avatar and a first object corresponding to a user of the second electronic device via a display, wherein the computer-generated environment is presented based on a first set of display parameters that meet a first set of criteria. For example, as shown in FIG. 6A, the first electronic device 660 displays a three-dimensional environment 650A including an avatar 615 and a user interface object 636 corresponding to a user of the second electronic device 670, and the second electronic device 670 displays a three-dimensional environment 650B including an avatar 617 and a user interface object 636 corresponding to a user of the first electronic device 660.

在一些示例中,第一组显示参数包括:在704处,用于第二电子设备的用户的空间参数;在706处,用于第一对象的空间参数;以及在708处,用于第一对象的显示模式参数。例如,如以上参考图4所描述的,用于第二电子设备的用户的空间参数定义是否针对通信会话启用空间实况,用于第一对象的空间参数定义与第二电子设备的用户相对应的化身和第一对象在计算机生成的环境中的空间模板/布置(例如,如果空间实况被启用),并且用于第一对象的显示模式参数定义第一对象的显示(和/或与第一对象相关联的内容)是排他性的还是非排他性的(例如,以及舞台是否与第一对象在计算机生成的环境中的显示相关联)。在一些示例中,如果空间实况被启用(例如,用于第二电子设备的用户的空间参数被设定为“真”(例如,或某一其他指示值,诸如“1”)),用于第一对象的空间参数将空间模板定义为第一空间模板(例如,并排空间模板,如图5A所示),且/或第一对象在通信会话中的计算机生成的环境中以非排他性模式显示(例如,在计算机生成的环境中未提供舞台,如图6A中类似地示出的),则第一组显示参数满足第一组标准。In some examples, the first set of display parameters includes: spatial parameters for the user of the second electronic device at 704; spatial parameters for the first object at 706; and display mode parameters for the first object at 708. For example, as described above with reference to FIG. 4 , the spatial parameters for the user of the second electronic device define whether spatial live is enabled for the communication session, the spatial parameters for the first object define a spatial template/arrangement of an avatar corresponding to the user of the second electronic device and the first object in the computer-generated environment (e.g., if spatial live is enabled), and the display mode parameters for the first object define whether display of the first object (and/or content associated with the first object) is exclusive or non-exclusive (e.g., and whether a stage is associated with display of the first object in the computer-generated environment). In some examples, if spatial live is enabled (e.g., spatial parameters for a user of the second electronic device are set to “true” (e.g., or some other indicative value, such as “1”)), the spatial parameters for the first object define the spatial template as a first spatial template (e.g., a side-by-side spatial template, as shown in FIG. 5A ), and/or the first object is displayed in a non-exclusive mode in a computer-generated environment in the communication session (e.g., no stage is provided in the computer-generated environment, as similarly shown in FIG. 6A ), then the first set of display parameters satisfies the first set of criteria.

在一些示例中,在710处,当显示包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境时,第一电子设备检测第一组显示参数中的一个或多个显示参数的变化。例如,如图6A所示,第二电子设备670检测指向用户界面对象636的可选选项623A的选择输入672A,可选择该可选选项以显示与用户界面对象636相关联的内容,或者如图5B所示,检测三维环境550A/550B中的虚拟托盘555的显示状态的变化。在一些示例中,在712处,响应于检测到变化,在714处,根据对第一组显示参数中的该一个或多个显示参数的变化使得第一组显示参数满足与第一组标准不同的第二组标准的确定,根据第一组显示参数的一个或多个变化,第一电子设备更新计算机生成的环境经由显示器的呈现。在一些示例中,如果空间实况被禁用(例如,用于第二电子设备的用户的空间参数被设定为“假”(例如,或某一其他指示值,诸如“0”)),用于第一对象的空间参数将空间模板定义为第二空间模板(例如,圆形空间模板,如图5B所示),且/或第一对象在通信会话中的计算机生成的环境中以排他性模式显示(例如,在计算机生成的环境中提供舞台,如图6B中类似地示出的),则第一组显示参数满足第二组标准。In some examples, at 710, when displaying a computer-generated environment including an avatar corresponding to a user of the second electronic device and a first object, the first electronic device detects a change in one or more display parameters in the first set of display parameters. For example, as shown in FIG6A, the second electronic device 670 detects a selection input 672A pointing to a selectable option 623A of a user interface object 636, which can be selected to display content associated with the user interface object 636, or as shown in FIG5B, detects a change in the display state of a virtual tray 555 in a three-dimensional environment 550A/550B. In some examples, at 712, in response to detecting the change, at 714, based on a determination that the change in the one or more display parameters in the first set of display parameters causes the first set of display parameters to meet a second set of criteria different from the first set of criteria, the first electronic device updates the presentation of the computer-generated environment via the display based on one or more changes in the first set of display parameters. In some examples, if spatial live is disabled (e.g., the spatial parameters for the user of the second electronic device are set to “false” (e.g., or some other indicative value, such as “0”)), the spatial parameters for the first object define the spatial template as a second spatial template (e.g., a circular spatial template, as shown in FIG. 5B ), and/or the first object is displayed in an exclusive mode in a computer-generated environment in the communication session (e.g., providing a stage in the computer-generated environment, as similarly shown in FIG. 6B ), then the first set of display parameters satisfies the second set of criteria.

在一些示例中,在716处,第一电子设备更新第一对象在计算机生成的环境中的显示。例如,如图5C所示,在三维环境550A/550B中以窗口状态显示虚拟杯552,或者如图6G所示,在三维环境650A中以排他性全屏模式显示应用程序窗口630的视频内容。在一些示例中,在718处,第一电子设备更新与第二电子设备的用户相对应的化身在计算机生成的环境中的显示。例如,如图5C所示,化身515/517/519对准到三维环境550A/550B中的新空间模板(例如,并排空间模板),或者如图6G所示,化身619/617停止在三维环境650B中显示。In some examples, at 716, the first electronic device updates the display of the first object in the computer-generated environment. For example, as shown in FIG. 5C, the virtual cup 552 is displayed in a window state in the three-dimensional environment 550A/550B, or as shown in FIG. 6G, the video content of the application window 630 is displayed in an exclusive full-screen mode in the three-dimensional environment 650A. In some examples, at 718, the first electronic device updates the display of the avatar corresponding to the user of the second electronic device in the computer-generated environment. For example, as shown in FIG. 5C, the avatar 515/517/519 is aligned to a new spatial template (e.g., a side-by-side spatial template) in the three-dimensional environment 550A/550B, or as shown in FIG. 6G, the avatar 619/617 stops being displayed in the three-dimensional environment 650B.

在一些示例中,如图7B所示,在720处,根据对第一组显示参数中的该一个或多个显示参数的变化不使得第一组显示参数满足第二组标准的确定,第一电子设备基于第一组显示参数满足第一组标准来维持计算机生成的环境的呈现。例如,如图6F所示,当第一电子设备660转变为在三维环境650A中以全屏模式显示应用程序窗口630的视频内容时,第二电子设备670自动跟随第一电子设备660,使得应用程序窗口630的视频内容也在三维环境650B中以全屏模式显示,这使得化身615/617/619保持显示(例如,因为空间实况仍被启用)。In some examples, as shown in Figure 7B, at 720, based on the determination that the change in the one or more display parameters in the first set of display parameters does not cause the first set of display parameters to satisfy the second set of criteria, the first electronic device maintains the presentation of the computer-generated environment based on the first set of display parameters satisfying the first set of criteria. For example, as shown in Figure 6F, when the first electronic device 660 transitions to displaying the video content of the application window 630 in the three-dimensional environment 650A in full screen mode, the second electronic device 670 automatically follows the first electronic device 660 so that the video content of the application window 630 is also displayed in the three-dimensional environment 650B in full screen mode, which causes the avatar 615/617/619 to remain displayed (e.g., because the spatial live is still enabled).

应当理解,过程700是示例,并且可以按相同或不同的顺序执行更多、更少或不同的操作。另外,上述过程700中的操作任选地通过运行信息处理装置诸如通用处理器(例如,如关于图2所述)或专用芯片中的一个或多个功能模块以及/或者由图2的其他部件来实现。It should be understood that process 700 is an example, and more, less or different operations may be performed in the same or different order. In addition, the operations in the above process 700 are optionally implemented by running one or more functional modules in an information processing device such as a general-purpose processor (e.g., as described with respect to FIG. 2) or a dedicated chip and/or by other components of FIG. 2.

因此,根据以上,本公开的一些示例涉及一种方法,该方法包括:在与显示器、一个或多个输入设备和第二电子设备通信的第一电子设备处:当处于与第二电子设备的通信会话中时,经由显示器呈现包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境,其中基于第一组显示参数满足第一组标准来呈现计算机生成的环境,第一组显示参数包括用于第二电子设备的用户的空间参数、用于第一对象的空间参数以及用于第一对象的显示模式参数;当显示包括与第二电子设备的用户相对应的化身和第一对象的计算机生成的环境时,检测第一组显示参数中的一个或多个显示参数的变化;以及响应于检测到第一组显示参数中的该一个或多个显示参数的变化:根据对第一组显示参数中的该一个或多个显示参数的变化使得第一组显示参数满足与第一组标准不同的第二组标准的确定,根据第一组显示参数的一个或多个变化,更新计算机生成的环境经由显示器的呈现,包括:更新第一对象在计算机生成的环境中的显示,以及更新与第二电子设备的用户相对应的化身在计算机生成的环境中的显示;以及根据对第一组显示参数中的该一个或多个显示参数的变化不使得第一组显示参数满足第二组标准的确定,基于第一组显示参数满足第一组标准来维持计算机生成的环境的呈现。Therefore, based on the above, some examples of the present disclosure relate to a method, which includes: at a first electronic device that communicates with a display, one or more input devices, and a second electronic device: when in a communication session with the second electronic device, presenting a computer-generated environment including an avatar corresponding to a user of the second electronic device and a first object via the display, wherein the computer-generated environment is presented based on a first set of display parameters satisfying a first set of criteria, the first set of display parameters including spatial parameters for the user of the second electronic device, spatial parameters for the first object, and display mode parameters for the first object; when displaying the computer-generated environment including the avatar corresponding to the user of the second electronic device and the first object, detecting one or more display parameters in the first set of display parameters changes; and in response to detecting changes in the one or more display parameters in the first group of display parameters: based on a determination that the changes in the one or more display parameters in the first group of display parameters cause the first group of display parameters to satisfy a second group of standards that is different from the first group of standards, updating the presentation of the computer-generated environment via the display based on the one or more changes in the first group of display parameters, including: updating the display of the first object in the computer-generated environment, and updating the display of an avatar corresponding to a user of the second electronic device in the computer-generated environment; and based on a determination that the changes in the one or more display parameters in the first group of display parameters do not cause the first group of display parameters to satisfy the second group of standards, maintaining the presentation of the computer-generated environment based on the first group of display parameters satisfying the first group of standards.

附加地或另选地,在一些示例中,根据对针对通信会话启用空间实况的确定,用于第二电子设备的用户的空间参数满足第一组标准。附加地或另选地,在一些示例中,对针对通信会话启用空间实况的确定是根据对通信会话中的用户的数量在用户的阈值数量内的确定。附加地或另选地,在一些示例中,根据对针对通信会话禁用空间实况的确定,用于第二电子设备的用户的空间参数满足第二组标准。附加地或另选地,在一些示例中,对针对通信会话禁用空间实况的确定是根据对通信会话中的用户的数量大于用户的阈值数量的确定。附加地或另选地,在一些示例中,更新与第二电子设备的用户相对应的化身在计算机生成的环境中的显示包括用第二电子设备的用户的二维表示来替换与第二电子设备的用户相对应的化身的显示。附加地或另选地,在一些示例中,用于第一对象的空间参数定义第一对象、与第二电子设备的用户相对应的化身以及第一电子设备的用户的视点之间的空间关系,其中与第二电子设备的用户相对应的化身显示在计算机生成的环境中的预定义位置处。附加地或另选地,在一些示例中,根据对预定义位置邻近于第一电子设备的用户的视点的确定,用于第一对象的空间参数满足第一组标准。附加地或另选地,在一些示例中,根据对第一对象在计算机生成的环境中以非排他性模式显示的确定,用于第一对象的显示模式参数满足第一组标准。附加地或另选地,在一些示例中,根据对第一对象在计算机生成的环境中以排他性模式显示的确定,用于第一对象的显示模式参数满足第二组标准。Additionally or alternatively, in some examples, according to the determination of enabling spatial live for the communication session, the spatial parameters for the user of the second electronic device meet the first set of criteria. Additionally or alternatively, in some examples, the determination of enabling spatial live for the communication session is based on the determination that the number of users in the communication session is within the threshold number of users. Additionally or alternatively, in some examples, according to the determination of disabling spatial live for the communication session, the spatial parameters for the user of the second electronic device meet the second set of criteria. Additionally or alternatively, in some examples, the determination of disabling spatial live for the communication session is based on the determination that the number of users in the communication session is greater than the threshold number of users. Additionally or alternatively, in some examples, updating the display of the avatar corresponding to the user of the second electronic device in the computer-generated environment includes replacing the display of the avatar corresponding to the user of the second electronic device with a two-dimensional representation of the user of the second electronic device. Additionally or alternatively, in some examples, the spatial parameters for the first object define the spatial relationship between the first object, the avatar corresponding to the user of the second electronic device, and the viewpoint of the user of the first electronic device, wherein the avatar corresponding to the user of the second electronic device is displayed at a predefined position in the computer-generated environment. Additionally or alternatively, in some examples, spatial parameters for the first object satisfy a first set of criteria based on a determination that a predefined location is adjacent to a viewpoint of a user of the first electronic device. Additionally or alternatively, in some examples, display mode parameters for the first object satisfy a first set of criteria based on a determination that the first object is displayed in a non-exclusive mode in a computer-generated environment. Additionally or alternatively, in some examples, display mode parameters for the first object satisfy a second set of criteria based on a determination that the first object is displayed in an exclusive mode in a computer-generated environment.

本公开的一些示例涉及一种电子设备,包括:一个或多个处理器;存储器;以及存储在存储器中并且被配置为由一个或多个处理器执行的一个或多个程序,该一个或多个程序包括用于执行上述方法中的任一种方法的指令。Some examples of the present disclosure relate to an electronic device comprising: one or more processors; a memory; and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for executing any of the above methods.

本公开的一些示例涉及一种存储一个或多个程序的非暂态计算机可读存储介质,所述一个或多个程序包括指令,所述指令在由电子设备的一个或多个处理器执行时使所述电子设备执行上述方法中的任一种方法。Some examples of the present disclosure relate to a non-transitory computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by one or more processors of an electronic device, cause the electronic device to perform any of the above methods.

本公开的一些示例涉及一种电子设备,包括:一个或多个处理器;存储器;以及用于执行任何上述方法的装置。Some examples of the present disclosure relate to an electronic device comprising: one or more processors; a memory; and a device for performing any of the above methods.

本公开的一些示例涉及一种在电子设备中使用的信息处理装置,所述信息处理装置包括用于执行上述方法中的任一种方法的装置。Some examples of the present disclosure relate to an information processing apparatus for use in an electronic device, the information processing apparatus including means for performing any one of the above methods.

出于解释的目的,前面的描述是通过参考具体实施例来描述的。然而,上面的例示性论述并非旨在是穷尽的或将本发明限制为所公开的精确形式。根据以上教导内容,很多修改形式和变型形式都是可能的。选择和描述示例是为了最佳地阐明本发明的原理及其实际应用,以便由此使得本领域的其他技术人员能够最佳地使用具有适合于所构想的特定用途的各种修改的本发明以及各种所描述的示例。For the purpose of explanation, the foregoing description is described by reference to specific embodiments. However, the above illustrative discussion is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible based on the above teachings. The examples are selected and described in order to best illustrate the principles of the invention and its practical application, so that other persons skilled in the art can best use the invention and the various described examples with various modifications suitable for the specific purposes contemplated.

Claims (20)

1.一种方法,包括:1. A method comprising: 在与显示器、一个或多个输入设备和第二电子设备通信的第一电子设备处:At a first electronic device in communication with a display, one or more input devices, and a second electronic device: 当在与所述第二电子设备的通信会话中时,经由所述显示器呈现包括与所述第二电子设备的用户相对应的化身和第一对象的计算机生成的环境,其中基于第一组显示参数满足第一组标准来呈现所述计算机生成的环境,所述第一组显示参数包括:while in a communication session with the second electronic device, presenting, via the display, a computer-generated environment including an avatar corresponding to a user of the second electronic device and a first object, wherein the computer-generated environment is presented based on a first set of display parameters satisfying a first set of criteria, the first set of display parameters comprising: 用于所述第二电子设备的所述用户的空间参数;spatial parameters for the user of the second electronic device; 用于所述第一对象的空间参数;和spatial parameters for said first object; and 用于所述第一对象的显示模式参数;display mode parameters for said first object; 当显示包括与所述第二电子设备的所述用户相对应的所述化身和所述第一对象的所述计算机生成的环境时,检测所述第一组显示参数中的一个或多个显示参数的变化;以及detecting a change in one or more display parameters of the first set of display parameters while displaying the computer-generated environment including the avatar corresponding to the user of the second electronic device and the first object; and 响应于检测到所述第一组显示参数中的所述一个或多个显示参数的变化:In response to detecting a change in the one or more display parameters in the first set of display parameters: 根据对所述第一组显示参数中的所述一个或多个显示参数的变化使得所述第一组显示参数满足与所述第一组标准不同的第二组标准的确定,根据所述第一组显示参数中的所述一个或多个显示参数的变化,更新所述计算机生成的环境经由所述显示器的呈现,包括:Based on a determination that a change to the one or more display parameters in the first set of display parameters causes the first set of display parameters to satisfy a second set of criteria that is different from the first set of criteria, updating a presentation of the computer-generated environment via the display based on the change to the one or more display parameters in the first set of display parameters, comprising: 更新所述第一对象在所述计算机生成的环境中的显示;以及updating a display of the first object in the computer-generated environment; and 更新与所述第二电子设备的所述用户相对应的所述化身在所述计算机生成的环境中的显示;以及updating a display of the avatar corresponding to the user of the second electronic device in the computer-generated environment; and 根据对所述第一组显示参数中的所述一个或多个显示参数的所述变化不使得所述第一组显示参数满足所述第二组标准的确定,基于所述第一组显示参数满足所述第一组标准来维持所述计算机生成的环境的呈现。Based on a determination that the change in the one or more of the first set of display parameters does not cause the first set of display parameters to satisfy the second set of criteria, maintaining presentation of the computer-generated environment based on the first set of display parameters satisfying the first set of criteria. 2.根据权利要求1所述的方法,其中根据对针对所述通信会话启用空间实况的确定,用于所述第二电子设备的所述用户的所述空间参数满足所述第一组标准。2. The method of claim 1, wherein based on a determination that spatial live is enabled for the communication session, the spatial parameters for the user of the second electronic device satisfy the first set of criteria. 3.根据权利要求2所述的方法,其中对针对所述通信会话启用空间实况的所述确定是根据对所述通信会话中的用户的数量在用户的阈值数量内的确定。3. The method of claim 2, wherein the determination to enable spatial live for the communication session is based on a determination that a number of users in the communication session is within a threshold number of users. 4.根据权利要求1至3中任一项所述的方法,其中根据对针对所述通信会话禁用空间实况的确定,用于所述第二电子设备的所述用户的所述空间参数满足所述第二组标准。4. The method of any one of claims 1 to 3, wherein based on the determination to disable spatial live for the communication session, the spatial parameters for the user of the second electronic device meet the second set of criteria. 5.根据权利要求4所述的方法,其中对针对所述通信会话禁用空间实况的所述确定是根据对所述通信会话中的用户的数量大于用户的阈值数量的确定。5. The method of claim 4, wherein the determination to disable spatial live for the communication session is based on a determination that a number of users in the communication session is greater than a threshold number of users. 6.根据权利要求4所述的方法,其中更新与所述第二电子设备的所述用户相对应的所述化身在所述计算机生成的环境中的显示包括用所述第二电子设备的所述用户的二维表示来替换与所述第二电子设备的所述用户相对应的所述化身的显示。6. A method according to claim 4, wherein updating the display of the avatar corresponding to the user of the second electronic device in the computer-generated environment includes replacing the display of the avatar corresponding to the user of the second electronic device with a two-dimensional representation of the user of the second electronic device. 7.根据权利要求1至6中任一项所述的方法,其中用于所述第一对象的所述空间参数定义所述第一对象、与所述第二电子设备的所述用户相对应的所述化身以及所述第一电子设备的用户的视点之间的空间关系,其中与所述第二电子设备的所述用户相对应的所述化身显示在所述计算机生成的环境中的预定位置处。7. A method according to any one of claims 1 to 6, wherein the spatial parameters for the first object define a spatial relationship between the first object, the avatar corresponding to the user of the second electronic device, and a viewpoint of the user of the first electronic device, wherein the avatar corresponding to the user of the second electronic device is displayed at a predetermined position in the computer-generated environment. 8.根据权利要求7所述的方法,其中根据对所述预定位置邻近于所述第一电子设备的所述用户的所述视点的确定,用于所述第一对象的所述空间参数满足所述第一组标准。8. The method of claim 7, wherein the spatial parameters for the first object satisfy the first set of criteria based on a determination that the predetermined location is proximate to the viewpoint of the user of the first electronic device. 9.根据权利要求7所述的方法,其中根据对所述预定位置是沿着跨所述第一电子设备的所述用户的所述视点的线的确定,用于所述第一对象的所述空间参数满足所述第一组标准,并且所述第一对象被定位在所述线上的在所述视点与所述预定位置之间的位置处。9. A method according to claim 7, wherein based on a determination that the predetermined position is along a line across the viewpoint of the user of the first electronic device, the spatial parameters for the first object satisfy the first set of criteria, and the first object is positioned at a position on the line between the viewpoint and the predetermined position. 10.根据权利要求7所述的方法,其中根据对所述第一组显示参数中的所述一个或多个显示参数的变化使得所述第一组显示参数满足所述第二组标准的所述确定,根据所述第一组显示参数中的所述一个或多个显示参数的变化,更新所述计算机生成的环境的所述呈现包括:10. The method of claim 7, wherein based on the determination that a change to the one or more display parameters in the first set of display parameters causes the first set of display parameters to satisfy the second set of criteria, updating the presentation of the computer-generated environment based on a change to the one or more display parameters in the first set of display parameters comprises: 更新所述第一对象、与所述第二电子设备的所述用户相对应的所述化身以及所述第一电子设备的用户的视点之间的所述空间关系。The spatial relationship between the first object, the avatar corresponding to the user of the second electronic device, and a viewpoint of the user of the first electronic device is updated. 11.根据权利要求1至10中任一项所述的方法,其中根据对所述第一对象在所述计算机生成的环境中以非排他性模式显示的确定,用于所述第一对象的所述显示模式参数满足所述第一组标准。11. The method of any one of claims 1 to 10, wherein the display mode parameters for the first object satisfy the first set of criteria based on a determination that the first object is displayed in the computer-generated environment in a non-exclusive mode. 12.根据权利要求11所述的方法,其中以所述非排他性模式显示所述第一对象包括将所述第一对象显示为共享对象,所述共享对象在所述计算机生成的环境中在所述第一电子设备的用户和所述第二电子设备的所述用户之间共享。12. The method of claim 11, wherein displaying the first object in the non-exclusive mode comprises displaying the first object as a shared object that is shared between a user of the first electronic device and the user of the second electronic device in the computer-generated environment. 13.根据权利要求1至12中任一项所述的方法,其中根据对所述第一对象在所述计算机生成的环境中以排他性模式显示的确定,用于所述第一对象的所述显示模式参数满足所述第二组标准。13. The method of any one of claims 1 to 12, wherein the display mode parameters for the first object satisfy the second set of criteria based on a determination that the first object is to be displayed in an exclusive mode in the computer-generated environment. 14.根据权利要求13所述的方法,其中以所述排他性模式显示所述第一对象包括将所述第一对象显示为私有对象,所述私有对象对于所述第一电子设备的用户是私有的,其中所述第一对象在所述计算机生成的环境中以全屏模式显示。14. The method of claim 13, wherein displaying the first object in the exclusive mode comprises displaying the first object as a private object, the private object being private to a user of the first electronic device, wherein the first object is displayed in a full screen mode in the computer-generated environment. 15.根据权利要求13所述的方法,其中以所述排他性模式显示所述第一对象包括将所述第一对象显示为共享对象,所述共享对象在所述第一电子设备的用户和所述第二电子设备的所述用户之间共享,其中所述第一对象在所述计算机生成的环境中以全屏模式显示。15. A method according to claim 13, wherein displaying the first object in the exclusive mode includes displaying the first object as a shared object, the shared object is shared between a user of the first electronic device and the user of the second electronic device, and the first object is displayed in full screen mode in the computer-generated environment. 16.根据权利要求15所述的方法,还包括:16. The method according to claim 15, further comprising: 响应于检测到所述第一组显示参数中的所述一个或多个显示参数的变化:In response to detecting a change in the one or more display parameters in the first set of display parameters: 根据对所述第一组显示参数中的所述一个或多个显示参数的变化使得所述第一组显示参数满足所述第二组标准的所述确定,发送与所述第一电子设备的所述用户在所述计算机生成的环境中对所述第一对象的显示的变化相对应的数据,其中所述数据使得所述第二电子设备显示选项,所述选项是可选择的以便在所述第二电子设备处在所述计算机生成的环境中以所述全屏模式显示所述第一对象。Based on the determination that a change in one or more display parameters in the first set of display parameters causes the first set of display parameters to satisfy the second set of criteria, data corresponding to a change in the display of the first object by the user of the first electronic device in the computer-generated environment is sent, wherein the data causes the second electronic device to display an option that is selectable to display the first object in the full screen mode in the second electronic device in the computer-generated environment. 17.根据权利要求13所述的方法,其中更新与所述第二电子设备的所述用户相对应的所述化身在所述计算机生成的环境中的显示包括停止所述化身在所述计算机生成的环境中的显示。17. The method of claim 13, wherein updating display of the avatar corresponding to the user of the second electronic device in the computer-generated environment comprises ceasing display of the avatar in the computer-generated environment. 18.根据权利要求13所述的方法,其中:18. The method of claim 13, wherein: 根据对使得所述第一组显示参数满足所述第二组标准的所述第一组显示参数中的所述一个或多个显示参数的所述变化对应于用于所述第一对象的所述空间参数的变化的确定:Based on a determination that the change in the one or more display parameters in the first set of display parameters such that the first set of display parameters satisfies the second set of criteria corresponds to a change in the spatial parameters for the first object: 更新所述第一对象在所述计算机生成的环境中的显示包括基于用于所述第一对象的所述空间参数的所述变化来改变所述第一对象在所述计算机生成的环境中的位置。Updating the display of the first object in the computer-generated environment includes changing a position of the first object in the computer-generated environment based on the change in the spatial parameter for the first object. 19.一种第一电子设备,包括:19. A first electronic device, comprising: 一个或多个处理器;one or more processors; 存储器;和Memory; and 存储在所述存储器中并且被配置为由所述一个或多个处理器执行的一个或多个程序,所述一个或多个程序包括用于执行根据权利要求1至18所述的方法中的任一种方法的指令。One or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any one of the methods according to claims 1 to 18. 20.一种存储一个或多个程序的非暂态计算机可读存储介质,所述一个或多个程序包括指令,所述指令在由第一电子设备的一个或多个处理器执行时,使得所述第一电子设备执行根据权利要求1至18所述的方法中的任一种方法。20. A non-transitory computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by one or more processors of a first electronic device, cause the first electronic device to perform any one of the methods according to claims 1 to 18.
CN202410207362.1A 2023-02-27 2024-02-26 System and method for managing spatial states and display modes in a multi-user communication session Pending CN118555361A (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US63/487,244 2023-02-27
US63/505,522 2023-06-01
US63/515,080 2023-07-21
US63/587,448 2023-10-02
US18/423,187 US12108012B2 (en) 2023-02-27 2024-01-25 System and method of managing spatial states and display modes in multi-user communication sessions
US18/423,187 2024-01-25

Publications (1)

Publication Number Publication Date
CN118555361A true CN118555361A (en) 2024-08-27

Family

ID=92451505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410207362.1A Pending CN118555361A (en) 2023-02-27 2024-02-26 System and method for managing spatial states and display modes in a multi-user communication session

Country Status (1)

Country Link
CN (1) CN118555361A (en)

Similar Documents

Publication Publication Date Title
EP4234058A1 (en) System and method of three-dimensional immersive applications in multi-user communication sessions
EP4234055A1 (en) System and method of three-dimensional placement and refinement in multi-user communication sessions
US12148078B2 (en) System and method of spatial groups in multi-user communication sessions
EP4422166A2 (en) System and method of managing spatial states and display modes in multi-user communication sessions
WO2021257868A1 (en) Video chat with spatial interaction and eye contact recognition
US12182325B2 (en) System and method of representations of user interfaces of an electronic device
US12113948B1 (en) Systems and methods of managing spatial groups in multi-user communication sessions
US20240212290A1 (en) Dynamic Artificial Reality Coworking Spaces
CN118555361A (en) System and method for managing spatial states and display modes in a multi-user communication session
EP4474954A1 (en) Systems and methods of managing spatial groups in multi-user communication sessions
CN117729304A (en) System and method for spatial group in multi-user communication session
JP7665074B2 (en) DEVICE, METHOD, AND GRAPHICAL USER INTERFACE FOR PRESENTING VIRTUAL OBJECTS IN A VIRTUAL ENVIRONMENT - Patent application
JP7637815B2 (en) System and method for presenting a user interface for an electronic device - Patents.com
US20240361833A1 (en) System and method of representations of user interfaces of an electronic device
EP4498210A1 (en) Systems and methods for presenting content in a shared computer generated environment of a multi-user communication session
US20250111626A1 (en) Presenting content associated with a real-world user interface
US20250013343A1 (en) Systems and methods of managing spatial groups in multi-user communication sessions
US20250110607A1 (en) Displaying virtual presentations for a theater application
CN116668658A (en) System and method for three-dimensional placement and refinement in multi-user communication sessions
CN116668659A (en) System and method for three-dimensional immersive application in multi-user communication session
CN114365197B (en) Placing virtual content in environments with multiple physical participants
US20250104335A1 (en) Systems and methods of layout and presentation for creative workflows
CN117724641A (en) System and method for application-based three-dimensional refinement in multi-user communication sessions
CN118838522A (en) System and method for representation of user interface of electronic device
WO2024138035A1 (en) Dynamic artificial reality coworking spaces

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination