We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df28ecf commit 5b3f6c9Copy full SHA for 5b3f6c9
docs/ManagingAssets.md
@@ -29,3 +29,15 @@ As an example a Material named 'FooBar' packaged in '/Game/Materials/Mat001' can
29
(this means a Mat001.uasset will be available in the /Content/Materials directory of the project filesystem)
30
31
32
+To get a reference to the asset from python you can use:
33
+
34
+```py
35
+import unreal_engine as ue
36
+# get the Mat001.Foobar asset
37
+material = ue.get_asset('/Game/Materials/Mat001.Foobar')
38
+# print material repr
39
+ue.log(material)
40
+# print material properties
41
+ue.log(material.properties())
42
+```
43
0 commit comments