Skip to content

Commit e23aebe

Browse files
Updated doc images, added missing example files.
1 parent f5015b1 commit e23aebe

9 files changed

+24
-22
lines changed
8.07 KB
Binary file not shown.
16.7 KB
Binary file not shown.
14.9 KB
Binary file not shown.
9.05 KB
Binary file not shown.
8.04 KB
Binary file not shown.

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Note: All versions of this plugin use the same source files.
2121
- [Installation](#installation)
2222
- [Usage](#usage)
2323
- [Python Library](#python-library)
24-
- [Blueprint Usage](#blueprint-usage)
24+
- [Blueprints](#blueprints)
25+
- [Example Usage:](#example-usage)
2526
- [Simple(ish) Python Example](#simpleish-python-example)
2627
- [Prerequisites](#prerequisites)
2728
- [License](#license)
@@ -75,21 +76,21 @@ the plugin is added to your project, you can access it via:
7576

7677
`from layered_material_library import LayeredMaterialLibrary`
7778

78-
### Blueprint Usage
79+
### Blueprints
7980

8081
The plugin provides the following Blueprint nodes for Editor Utility Widgets:
8182

8283
![Blueprint Nodes](docs/images/blueprint_nodes.png)
8384

84-
Example usage:
85-
```blueprint
86-
// Basic layer manipulation example
87-
Get Material Instance
88-
IsLayeredMaterial -> Branch
89-
-> True -> GetLayerCount
90-
-> AddMaterialLayer
91-
-> AssignLayerMaterial
92-
```
85+
### Example Usage:
86+
87+
This example would check if a material is layered, if it is, add a new material layer, get the count, and assign
88+
a specific material layer asset to it.
89+
90+
Note: These blueprint nodes are ONLY available in Editor Utility Widgets because they adjust elements in-editor,
91+
not in-game.
92+
93+
![Blueprint Example](docs/images/blueprint_example.png)
9394

9495
## Simple(ish) Python Example
9596

docs/images/blueprint_example.png

224 KB
Loading

docs/images/blueprint_nodes.png

250 KB
Loading

docs/index.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Note: All versions of this plugin use the same source files.
2121
- [Installation](#installation)
2222
- [Usage](#usage)
2323
- [Python Library](#python-library)
24-
- [Blueprint Usage](#blueprint-usage)
24+
- [Blueprints](#blueprints)
25+
- [Example Usage:](#example-usage)
2526
- [Simple(ish) Python Example](#simpleish-python-example)
2627
- [Prerequisites](#prerequisites)
2728
- [License](#license)
@@ -68,21 +69,21 @@ the plugin is added to your project, you can access it via:
6869

6970
`from layered_material_library import LayeredMaterialLibrary`
7071

71-
### Blueprint Usage
72+
### Blueprints
7273

7374
The plugin provides the following Blueprint nodes for Editor Utility Widgets:
7475

7576
![Blueprint Nodes](images/blueprint_nodes.png)
7677

77-
Example usage:
78-
```blueprint
79-
// Basic layer manipulation example
80-
Get Material Instance
81-
IsLayeredMaterial -> Branch
82-
-> True -> GetLayerCount
83-
-> AddMaterialLayer
84-
-> AssignLayerMaterial
85-
```
78+
### Example Usage:
79+
80+
This example would check if a material is layered, if it is, add a new material layer, get the count, and assign
81+
a specific material layer asset to it.
82+
83+
Note: These blueprint nodes are ONLY available in Editor Utility Widgets because they adjust elements in-editor,
84+
not in-game.
85+
86+
![Blueprint Example](images/blueprint_example.png)
8687

8788
## Simple(ish) Python Example
8889

0 commit comments

Comments
 (0)