Skip to content

Commit 5ee2d33

Browse files
author
Roberto De Ioris
authored
Update ManagingAssets.md
1 parent 048cf71 commit 5ee2d33

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/ManagingAssets.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ from unreal_engine.classes import PyFbxFactory
127127
asset002 = ue.import_asset('/Users/FooBar/Desktop/warrior001.fbx', '/Game/Meshes', PyFbxFactory)
128128
```
129129

130+
or
131+
132+
```python
133+
from unreal_engine.classes import PyFbxFactory
134+
135+
factory = PyFbxFactory()
136+
137+
asset002 = factory.factory_import_object('/Users/FooBar/Desktop/warrior001.fbx', '/Game/Meshes')
138+
```
139+
130140
If the factory supports options, you can instantiate a factory before use:
131141

132142
```python

0 commit comments

Comments
 (0)