The Import FBX Function
The core import function handles all aspects of loading an FBX file asynchronously.
Function Parameters
- File Path: Full path to the FBX file on disk
- Import Settings: Configuration for import behavior
- Spawn Transform: Where to place the imported actor
- Auto Generate Materials: Whether to create materials automatically
Import Settings
- Import Textures: Automatically find and import textures
- Import Collisions: Look for UCX_ collision meshes
- Combine Meshes: Merge all meshes into one component
- Scale Factor: Adjust imported mesh scale
Completion Events
Bind to events to handle import completion:
- On Import Success: Called when import completes
- On Import Failed: Called if import fails
- On Progress Update: Called during import (for progress bars)
Asynchronous Processing
The import happens off the game thread, so you can:
- Display loading screens
- Show progress bars
- Continue gameplay while loading
- Import multiple files simultaneously