Skip to content

Commit 55501dd

Browse files
authored
Update content/en-us/parts/meshes.md
1 parent 3558b13 commit 55501dd

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

content/en-us/parts/meshes.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,18 @@ You can apply PBR textures using one of the following objects:
6767

6868
To add PBR textures to a mesh:
6969

70-
**Surface Appearance**
71-
72-
1. In the [Explorer](../studio/explorer.md) window, hover over the **MeshPart** object. Click the **** button and select **SurfaceAppearance**.
73-
2. In the **Properties** window, edit the properties corresponding to the PBR texture maps.
74-
75-
**Material Variant**
76-
77-
1. In the [Explorer](../studio/explorer.md) window, hover over the [MaterialService](../reference/engine/classes/MaterialService.yaml). Click the **** button and select **MaterialVariant**.
78-
2. In the **Properties** window, edit the properties corresponding to the PBR texture maps.
79-
3. Name the **MaterialVariant** to a name of your choice.
80-
4. Select the **MeshPart**, in the mesh's **Properties** window, set the **MaterialVariant** to the one you just created.
70+
<Tabs>
71+
<TabItem label="SurfaceAppearance">
72+
1. In the [Explorer](../studio/explorer.md) window, hover over the `Class.MeshPart` object. Click the **** button and select `Class.SurfaceAppearance`.
73+
2. In the [Properties](../studio/properties.md) window, edit the properties corresponding to the PBR texture maps.
74+
</TabItem>
75+
<TabItem label="MaterialVariant">
76+
1. In the [Explorer](../studio/explorer.md) window, hover over the `Class.MaterialService`. Click the **** button and select `Class.MaterialVariant`.
77+
2. In the [Properties](../studio/properties.md) window, edit the properties corresponding to the PBR texture maps.
78+
3. Name the new `Class.MaterialVariant` to a name of your choice.
79+
4. Select the `Class.MeshPart` and, in the [Properties](../studio/properties.md) window, set the `Class.MaterialVariant` to the one you just created.
80+
</TabItem>
81+
</Tabs>
8182

8283
<Alert severity="info">
8384
If you both add `Class.SurfaceAppearance` as a child object and set the `Class.MaterialVariant` in the mesh's properties, Studio only applies the texture map settings of the `Class.SurfaceAppearance` object to the mesh. The mesh still has all other settings of the `Class.MaterialVariant` object, such as custom physical properties.

0 commit comments

Comments
 (0)