File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -127,16 +127,6 @@ from unreal_engine.classes import PyFbxFactory
127127asset002 = 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-
140130If the factory supports options, you can instantiate a factory before use:
141131
142132``` python
@@ -145,7 +135,7 @@ from unreal_engine.classes import PyFbxFactory
145135factory = PyFbxFactory()
146136factory.ImportUI.bImportAsSkeletal = True
147137
148- asset002 = ue.import_asset (' /Users/FooBar/Desktop/warrior001.fbx' , ' /Game/Meshes' , factory )
138+ asset002 = factory.factory_import_object (' /Users/FooBar/Desktop/warrior001.fbx' , ' /Game/Meshes' )
149139```
150140
151141Reimporting assets
You can’t perform that action at this time.
0 commit comments