Skip to content

Commit 367f063

Browse files
authored
Merge pull request #3772 from MicrosoftDocs/iawilt-nov20
PMR - November updates
2 parents 687876a + dd613e9 commit 367f063

10 files changed

+24
-15
lines changed
992 KB
Loading
492 KB
Loading
490 KB
Loading
1.07 MB
Loading
848 KB
Loading

powerapps-docs/maker/canvas-apps/mixed-reality-component-measure-distance.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ You can use the **Measure in MR** component in your app to let users measure dis
2222

2323
The component creates a button in your app. When app users click the button, it shows a live camera feed of the device. App users can then identify a starting point and then individual points to measure from. The distances of measured segments are shown directly on the live camera feed.
2424

25-
An example of how the component works inside an app is shown in the following video:
26-
27-
28-
> [!VIDEO https://www.microsoft.com/videoplayer/embed/RE4vyoW]
2925

26+
:::image type="content" source="./media/augmented-overview/measure-in-mixed-reality.png" alt-text="Photo showing a corner between two construction walls being measured with a mobile device.":::
3027

3128
When the user exits the component, the measurements that were taken are captured in the **Measurements** and **MeasurementsDetailed** properties so they can be saved or stored.
3229

@@ -69,13 +66,13 @@ Note that some properties are only available under **More options** in the **Adv
6966

7067
Property | Description | Type | Location
7168
- | - | - | -
72-
Text | Label for the button | String | **Properties** (also in **Advanced**)
73-
Display type | Whether the button shows just an icon, text, or both | Drop-down selection | **Properties** (also in **Advanced**)
74-
Unit of measurement | What unit the measurements should be shown and returned in | Drop-down selection | **Properties** (also in **Advanced**)
69+
Text | Label for the button. | String | **Properties** (also in **Advanced**)
70+
Display type | Whether the button shows just an icon, text, or both. | Drop-down selection | **Properties** (also in **Advanced**)
71+
Unit of measurement | What unit the measurements should be shown and returned in. | Drop-down selection | **Properties** (also in **Advanced**)
7572
Measurement type | What type of measurement the user can make, whether point-to-point distance, a complete area, or a three-dimensional volume (area plus height or depth). | Drop-down selection | **Properties** (also in **Advanced**)
7673
Measurements | Table containing the measured segments, composed of: <ul><li>Length - Number representing the length of the segment</li><li>Unit - String describing the unit of this measurement</li></ul> | String | Not applicable (output property only)
7774
MeasurementsDetailed | Table describing the measured volumes and areas, composed of:<ul><li>Units - String describing the base unit of this measurement</li><li>Height - Number representing the height of the captured volume, or 0 if not a completed volume or 2D area</li><li>PathLength - Number representing the total length of the path</li><li>Segments - Table describing all segments in the given measurement object with the following properties:<ul><li>Distance - Number representing the total distance of a given segment in the given units of measure (for example, .52)</li><li>Direction - Vector describing the direction of the segment, normalized</li><li>X - Number specifying the X direction of the segment in world space (for example, 0.5)</li><li>Y - Number specifying the Y direction of the measurement in world space (typically 0)</li><li>Z - Number specifying the Z direction of the measurement in world space (for example, 0.5)</li></ul></li></li> | | Not applicable (output property only)
78-
Photos | The photos captured during the mixed reality session | | Not applicable (output property only)
75+
Photos | The photos captured during the mixed reality session.<br/>You can [upload the mixed-reality photos to OneDrive and show them in a gallery](mixed-reality-take-upload-photos.md). | | Not applicable (output property only)
7976

8077
### Additional properties
8178

powerapps-docs/maker/canvas-apps/mixed-reality-component-view-3d.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Add 3D content to your canvas apps. Use the **View in 3D** component to rotate a
2323

2424
You can display a single 3D model, or you can let the user select from a gallery [by connecting to a **Gallery** control](#define-where-the-3d-content-is-stored).
2525

26-
> [!VIDEO https://www.microsoft.com/videoplayer/embed/RE4vyoW]
26+
:::image type="content" source="./media/augmented-overview/view-in-3d.png" alt-text="Photo showing a 3D object being viewed in a mobile device.":::
27+
2728

2829
> [!IMPORTANT]
2930
> Your 3D content must be in the .glb file format.
@@ -56,7 +57,8 @@ Some properties are only available in the **Advanced** tab on the **View in 3D**
5657
Property | Description | Type | Location
5758
- | - | - | -
5859
Source | Data source that identifies the .glb file to display. The **View in 3D** component supports loading models from:<br/><ul><li>Publicly accessible, CORS-compliant URLs</li><li>Base64-encoded URIs</li><li>Attachments or media content accessed through data connectors</li> | Not applicable | **Properties** (also in **Advanced** as **Src**)
59-
Background fill | Set the background color for the component | Color picker | **Properties** (also in **Advanced** as **BackgroundFill**, where it accepts RGBA or HTML hexadecimal color codes)
60+
Background fill | Set the background color for the component. | Color picker | **Properties** (also in **Advanced** as **BackgroundFill**, where it accepts RGBA or HTML hexadecimal color codes)
61+
Pins(Items) | [Add pins to specific coordinates on the 3D model](mixed-reality-add-pins-3d-model.md). | Drop-down selection | **Properties**
6062

6163
### Additional properties
6264

@@ -155,6 +157,12 @@ Loading models as attachments or media content works through the binary storage
155157
1. Set the gallery data source to the Excel Online workbook.
156158
1. In the **Advanced** properties tab for the **View in 3D** component, set the **Src** property to **Gallery1.Selected.3DModel**.
157159

160+
## Performance considerations
161+
162+
Having multiple instances of the **View in 3D** component on one screen can lead to poor performance, as each version of the component will try to load the 3D models at the same time.
163+
164+
For situations where you want to have a gallery of 3D models, you should put the **View in 3D** component outside of the gallery, and then set its source to the gallery's selected property as described in the [Loading models as attachments or media content](#loading-models-as-attachments-or-media-content) section.
165+
158166
## Known constraints
159167

160168
- The security architecture of Power Apps requires HTTPS links, not HTTP.

powerapps-docs/maker/canvas-apps/mixed-reality-component-view-mr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can use the **View in MR** component in your app to let users see how a part
2323

2424
The component creates a button in your app. When app users click the button, it overlays a selected 3D model (in the .glb file format) or image (in .jpg or .png file formats) onto the live camera feed of the device.
2525

26-
> [!VIDEO https://www.microsoft.com/videoplayer/embed/RE4vvwR]
26+
:::image type="content" source="./media/augmented-overview/view-in-mixed-reality.png" alt-text="Photo showing a 3D model of a forklift being overlaid onto the real world through a mobile device.":::
2727

2828
You can also take photos and [upload them to OneDrive](mixed-reality-take-upload-photos.md).
2929

@@ -62,14 +62,14 @@ Some properties are only available under **More options** in the **Advanced** ta
6262

6363
Property | Description | Type | Location
6464
- | - | - | -
65-
Text | Label for the button | String | Properties (also in **Advanced**)
65+
Text | Label for the button. | String | Properties (also in **Advanced**)
6666
Display type | Whether the button shows just an icon, text, or both. | Drop-down selection | Properties (also in **Advanced**)
6767
Source | Data source that identifies the .glb file to display. The **View in MR** component supports loading models from:<br/><ul><li>Publicly accessible, CORS-compliant URLs.</li><li>Base64-encoded URIs.</li><li>Attachments or media content accessed through data connectors.</li></ul><br/>For more information, see [Define where the 3D content is stored](mixed-reality-component-view-3d.md#define-where-the-3d-content-is-stored) in the **View in 3D** component's topic. | Not applicable | **Properties** (also in **Advanced**)
6868
Object width | Width of the displayed image or 3D content. | Integer | **Properties** (also in **Advanced**)
6969
Object height | Height of the displayed image or 3D content. | Integer | **Properties** (also in **Advanced**)
7070
Object depth | The three-dimensional depth of the 3D content. | Integer | **Properties** (also in **Advanced**)
7171
Units | The unit used for the object width, height, and depth fields. | Drop-down selection | **Properties** (also in **Advanced**)
72-
Photos | The photos captured during the mixed reality session. | | Not applicable (output property only)
72+
Photos | The photos captured during the mixed reality session.<br/>You can [upload the mixed-reality photos to OneDrive and show them in a gallery](mixed-reality-take-upload-photos.md). | | Not applicable (output property only)
7373

7474
### Additional properties
7575

powerapps-docs/maker/canvas-apps/mixed-reality-component-view-shape.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can use the **View shape in MR** component in your app to let users see if a
2323

2424
The component creates a button in your app. When app users click the button, it overlays a cube onto the live camera feed of the device. You set up the dimensions of the cube when you edit the component in Power Apps.
2525

26-
> [!VIDEO https://www.microsoft.com/videoplayer/embed/RE4vvwR]
26+
:::image type="content" source="./media/augmented-overview/view-shape-in-mixed-reality.png" alt-text="Photo showing a 3D shape being overlaid onto the real world through a mobile device.":::
2727

2828
To use the component, you need to [enable the mixed reality (MR) features for each app](mixed-reality-overview.md#enable-the-mixed-reality-features-for-each-app) that you want to use it in.
2929

@@ -62,7 +62,7 @@ Shape width | Width of the cube. | Integer | **Properties** (also in **Advanced*
6262
Shape height | Height of the cube. | Integer | **Properties** (also in **Advanced**)
6363
Shape depth | The three-dimensional depth of the cube. | Integer | **Properties** (also in **Advanced**)
6464
Unit of measurement | The measurement unit used for the width, height, and depth fields. | Drop-down selection | **Properties** (also in **Advanced**)
65-
Photos | The photos captured during the mixed reality session. | | Not applicable (output property only)
65+
Photos | The photos captured during the mixed reality session.<br/>You can [upload the mixed-reality photos to OneDrive and show them in a gallery](mixed-reality-take-upload-photos.md). | | Not applicable (output property only)
6666

6767
### Additional properties
6868

powerapps-docs/maker/canvas-apps/mixed-reality-overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Components are groups of controls that can answer the need for a specific scenar
2727
- Measure distance, area, and volume using your device with MR.
2828
- Identify spaces in the real world through an MR overlay.
2929

30+
mixed-reality-overview.png
31+
32+
:::image type="content" source="./media/augmented-overview/mixed-reality-overview.png" alt-text="A photo showing the Power Apps editor portal with the view in 3D component next to the app on a mobile device.":::
33+
3034
You can read more about components and how to build your own in [Power Apps component framework docs](/powerapps/developer/component-framework/custom-controls-overview).
3135

3236

0 commit comments

Comments
 (0)