Skip to content

Commit 2a6352d

Browse files
committed
Updated Image AssetPath with Base64/URL tips
Wireframe now supports Opacity parameter
1 parent 2a7f25f commit 2a6352d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/assets-modding/default-asset-pack/default-materials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ For more information regarding how each Parameter affects the final visual, plea
148148
| **M_Default_Translucent_Unlit** | `false` | `true` | `false` | `false` | `false` | `false` | `false` | `true` | `false` | `false` | `false` |
149149
| **M_Default_Translucent_Unlit_Depth** | `false` | `true` | `false` | `false` | `false` | `false` | `false` | `true` | `false` | `false` | `false` |
150150
| **M_Noise** | `false` | `false` | `false` | `true` | `true` | `true` | `true` | `false` | `false` | `false` | `false` |
151-
| **M_Wireframe** | `true` | `false` | `false` | `true` | `false` | `false` | `false` | `false` | `false` | `false` | `false` |
151+
| **M_Wireframe** | `true` | `false` | `false` | `true` | `false` | `false` | `false` | `true` | `false` | `false` | `false` |
152152

153153
> **Masked Material's Opacity supports only Opacity Mask: `0` or `1`*
154154

src/components/_nanos.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export const AssetPath = {
277277
Blueprint: () => BaseAssetPath("Blueprint", "Blueprint Reference", "Blueprint Asset Reference in the format:<br/><code class='path-center'>asset-pack::BP_MyBlueprint</code>"),
278278
Other: () => BaseAssetPath("Other", "Other Asset Reference", "Other Asset Reference in the format:<br/><code class='path-center'>asset-pack::A_MySomething</code>"),
279279
Sound: () => SpecialPath("Sound", "Sound Reference", "Sound Asset Reference in the format:<br/><code class='path-center'>asset-pack::A_MySound</code><br/>Or as Special Path:<br/><code class='path-center'>package://my-package/Client/sound.ogg</code>"),
280-
Image: () => SpecialPath("Image", "Image Path", "Image Path as Special Path:<br/><code class='path-center'>package://my-package/Client/sound.ogg</code>"),
280+
Image: () => SpecialPath("Image", "Image Path", "Image Path as Special Path:<br/><code class='path-center'>package://my-package/Client/image.jpg</code><br/>Or Web URL:<br/><code class='path-center'>https://my-website.com/image.jpg</code><br/>Or Base64:<br/><code class='path-center'>data:image/jpeg;base64,iVBORw0KGgoAAA...</code>"),
281281
Font: () => SpecialPath("Font", "Font TTF Path", "TTF Font Path as Special Path:<br/><code class='path-center'>package://my-package/Client/Roboto.ttf</code>"),
282282
HTML: () => TippyLink("HTML", "HTML Path", "Web URL or HTML File Path:<br/><code class='path-center'>file://UI/index.html</code>", "scripting-reference/classes/web-ui#html-path-searchers"),
283283
};

0 commit comments

Comments
 (0)