You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.unity.formats.fbx/Documentation~/devguide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
As a developer you have access to the FBX Exporter from C# scripting. You can use the basic API by providing a single GameObject or a list of GameObjects. Note that default export settings are used for exporting the GameObjects to the FBX file.
4
4
5
-
You can call the FBX Exporter from C# using methods found in the [**UnityEditor.Formats.Fbx.Exporter**](../api/UnityEditor.Formats.Fbx.Exporter.html) namespace, for example:
5
+
You can call the FBX Exporter from C# using methods found in the [UnityEditor.Formats.Fbx.Exporter](../api/UnityEditor.Formats.Fbx.Exporter.html) namespace, for example:
|__Export Name__| Specify the name of the FBX file to export. |
212
212
|__Export Path__| Specify the location where the FBX Exporter will save the FBX file. |
213
-
|__Source__| Transfer the transform animation from this object to the __Destination__ transform. <br/><br/>**Notes:**<br/> - __Source__ must be an ancestor of __Destination__<br/> - __Source__ may be an ancestor of the selected object. |
213
+
|__Source__| Transfer the transform animation from this object to the __Destination__ transform. <br/><br/>**NOTES:**<br/> - __Source__ must be an ancestor of __Destination__<br/> - __Source__ may be an ancestor of the selected object. |
214
214
|__Destination__| Which object to transfer the transform animation to.<br/><br/>This object receives the transform animation on objects between __Source__ and __Destination__ as well as the animation on the Source itself. |
215
215
|__Export Format__| Select the format to use in the FBX file (ASCII or Binary). |
216
216
|__Include__| Choose whether to export both Models and Animation, only Models, or only Animations. |
217
-
|__LOD level__| For level of detail (LOD) groups, choose the desired level of detail to export (all, highest, or lowest). <br/><br/>**Notes:**<br/> - The FBX Exporter ignores LODs outside of selected hierarchy.<br/> - The FBX Exporter does not filter out objects that are used as LODs and doesn't export them if they aren’t direct descendants of their respective LOD Group |
217
+
|__LOD level__| For level of detail (LOD) groups, choose the desired level of detail to export (all, highest, or lowest). <br/><br/>**NOTES:**<br/> - The FBX Exporter ignores LODs outside of selected hierarchy.<br/> - The FBX Exporter does not filter out objects that are used as LODs and doesn't export them if they aren’t direct descendants of their respective LOD Group |
218
218
|__Object(s) Position__| Choose whether to reset the exported objects to world center, or keep world transforms during export.<br/><br/>If you select multiple objects for export, and you choose __Local Centered__ from this drop-down menu, the FBX Exporter centers objects around a shared root while keeping their relative placement unchanged. |
219
219
|__Animated Skinned Mesh__| Check this option to export animation on objects with skinned meshes.<br/><br/>If unchecked, the FBX Exporter does not export animation on skinned meshes. |
220
-
| __Compatible Naming__ | Check this option to control renaming the GameObject and Materials during export. <br/><br/>The FBX Exporter ensures compatible naming with Autodesk® Maya® and Autodesk® Maya LT™ to avoid unexpected name changes between Unity and Autodesk® Maya® and Autodesk® Maya LT™. During export the FBX Exporter replaces characters in Unity names as follows:<br/> - Replaces invalid characters with underscores ("\_"). Invalid characters are all non-alphanumeric characters, except for the colon (":").<br/> - Adds an underscore ("\_") to names that begin with a number.<br/> - Replaces diacritics. For example, replaces "é" with “e”.<br/><br/>**Note:** If you have a Material with a space in its name, the space is replaced with an underscore ("_"). This results in a new Material being created when it is imported. For example, the Material named "Default Material" is exported as "Default_Material" and is created as a new Material when it is imported. If you want the exported Material to match an existing Material in the scene, you must manually rename the Material before exporting. |
220
+
| __Compatible Naming__ | Check this option to control renaming the GameObject and Materials during export. <br/><br/>The FBX Exporter ensures compatible naming with Autodesk® Maya® and Autodesk® Maya LT™ to avoid unexpected name changes between Unity and Autodesk® Maya® and Autodesk® Maya LT™. During export the FBX Exporter replaces characters in Unity names as follows:<br/> - Replaces invalid characters with underscores ("\_"). Invalid characters are all non-alphanumeric characters, except for the colon (":").<br/> - Adds an underscore ("\_") to names that begin with a number.<br/> - Replaces diacritics. For example, replaces "é" with “e”.<br/><br/>**NOTE:** If you have a Material with a space in its name, the space is replaced with an underscore ("_"). This results in a new Material being created when it is imported. For example, the Material named "Default Material" is exported as "Default_Material" and is created as a new Material when it is imported. If you want the exported Material to match an existing Material in the scene, you must manually rename the Material before exporting. |
221
221
|__Export Unrendered__| Check this option to export meshes that either don't have a renderer component, or that have a disabled renderer component. For example, a simplified mesh used as a Mesh collider. |
222
222
223
-
**Note:** For FBX Model filenames, the FBX Exporter ensures that names do not contain invalid characters for the file system. The set of invalid characters may differ between file systems.
223
+
> **NOTE:** For FBX Model filenames, the FBX Exporter ensures that names do not contain invalid characters for the file system. The set of invalid characters may differ between file systems.
224
224
225
225
## Exporting animation from the Timeline
226
226
@@ -236,12 +236,3 @@ In Autodesk® 3ds Max®, it is recommended to set the system units to centimeter
236
236
There are no specific import options to adjust between Unity and Autodesk® Maya® and Autodesk® Maya LT™. When working in Autodesk® Maya® and Autodesk® Maya LT™, you can set the working units to meters if you prefer.
237
237
238
238
When working with large models in Autodesk® Maya® and Autodesk® Maya LT™, to ensure that the models clip to meters, adjust the scale of the near and far clipping planes for all cameras by 100x. In addition, you should scale lights and cameras by 100x so that objects display in the viewport.
239
-
240
-
## Known issues
241
-
242
-
* Bind pose of animated skinned mesh is lost on export. For example, if you export an animated skinned mesh from Unity and import it into Autodesk® Maya® and Autodesk® Maya LT™ you will not be able to set the character into the bind pose using the **Rigging** > **Skin** > **Go to Bind Pose** command.
243
-
244
-
* Animated skinned meshes may not export with the correct skinning if they are not in the bind pose on export (that is, not being previewed in the Animation or Timeline windows, and the original Rig's FBX must not contain animation)
245
-
246
-
* For skinned meshes all bones must be descendants of the root bone. For example, if the root bone is "hips" and the right leg for the same skinned mesh is not a descendant of hips, export will fail.
Expand all lines: com.unity.formats.fbx/Documentation~/index.md
+8-14Lines changed: 8 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,10 @@ The FBX Exporter package provides round-trip workflows between Unity and 3D mode
4
4
5
5
The FBX Exporter package includes the following features:
6
6
7
-
*[FBX Exporter](exporting.md): Export geometry, animation, Lights, and Cameras as FBX files so you can transfer game data to any 3D modeling software. Record gameplay and export it to make cinematics. Start grey-boxing with [ProBuilder](https://docs.unity3d.com/Packages/com.unity.probuilder@latest/), then export to FBX to replace with final assets.
8
-
9
-
* Connections via Model Prefab Variants:
10
-
* [Model Prefab Variants](nested-prefabs.md):
11
-
12
-
Unity 2018.3 introduced [Nested Prefabs](https://docs.unity3d.com/2018.3/Documentation/Manual/NestedPrefabs.html) and [Prefab Variants](https://docs.unity3d.com/2018.3/Documentation/Manual/PrefabVariants.html) as new Prefab features. The FBX Importer allows you to import an FBX file as a *Model Prefab* and create Prefab Variants from them. Since Prefab Variants can override properties and children without affecting the original Prefab, you can use them in Unity without breaking the link to the file, and bring in updates.
7
+
*[FBX Exporter](exporting.md): Export geometry, animation, Lights, and Cameras as FBX files so you can transfer game data to any 3D modeling software. Record gameplay and export it to make cinematics. Start grey-boxing with [ProBuilder](https://docs.unity3d.com/Packages/com.unity.probuilder@latest/), then export your GameObjects to FBX until you can replace them with the final Assets.
13
8
9
+
*[FBX Linked Prefabs](prefabs.md): The FBX Importer allows you to import an FBX file as a **Model Prefab** and create **Prefab Variants** from them. Since Prefab Variants can override properties and children without affecting the original Prefab, you can use them in Unity without breaking the link to the file, and bring in updates.
10
+
14
11
*[Unity Integration for 3D modeling software](integration.md): Effortlessly import and export Assets between Unity and Autodesk® Maya®, Autodesk® Maya LT™, or Autodesk® 3ds Max®. The 3D modeling software remembers where the files go, and what objects to export back to Unity.
15
12
16
13
## Requirements
@@ -23,22 +20,19 @@ The Unity Integration for Autodesk® Maya® and Autodesk® Maya LT™ feature su
23
20
24
21
* Autodesk® Maya® and Autodesk® Maya LT™ 2017
25
22
* Autodesk® Maya® and Autodesk® Maya LT™ 2018
23
+
* Autodesk® Maya® and Autodesk® Maya LT™ 2019
26
24
27
25
The Unity Integration for Autodesk® 3ds Max® feature supports the following versions of Autodesk® 3ds Max®:
28
26
29
27
* Autodesk® 3ds Max® 2017
30
28
* Autodesk® 3ds Max® 2018
31
-
32
-
## Known issues
33
-
34
-
* When installing a new version of the FBX Exporter package after using version 1.3.0f1 or earlier, the link between Assets and FbxPrefab components may be lost. See [Updating from 1.3.0f1 or earlier](#Repairs_1_3_0f_1) for repairing instructions.
35
-
36
-
* The FBX Exporter package does not support exporting `.asset` files.
29
+
* Autodesk® 3ds Max® 2019
30
+
* Autodesk® 3ds Max® 2020
37
31
38
32
<aname="Repairs_1_3_0f_1"></a>
39
33
## Installing the FBX Exporter
40
34
41
-
To install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest).
35
+
To install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Manual/upm-ui-install.html).
42
36
43
37
Verify that the FBX Exporter is correctly installed by opening it (from the top menu: **GameObject** > **Export To FBX**).
44
38
@@ -54,7 +48,7 @@ Before you install the FBX Exporter Package, follow these steps (recommended):
54
48
55
49
3. Delete the *FbxExporters* folder.
56
50
57
-
4. Install the FBX Exporter from the [Package Manager](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest)
51
+
4. Install the FBX Exporter from the [Package Manager](https://docs.unity3d.com/Manual/upm-ui-install.html).
58
52
59
53
Some Assets in your Project may lose their FbxPrefab components. To repair this issue, follow these steps:
Set `{Version}` = `2.0.0` (or your version number of the FBX Exporter package) and `{UnityIntegrationsPath}` = the location where you unzipped *UnityFbxForMaya.zip* in step 1.
63
63
@@ -67,14 +67,14 @@ To manually install an Autodesk® Maya® or Autodesk® Maya LT™ Integration, f
67
67
* On Mac: <br/>*$HOME/Library/Preferences/Autodesk/Maya/scripts/userSetup.mel*
68
68
69
69
6. Add this line (mel code):
70
-
```if(`exists unitySetupUI`){ unitySetupUI; }```
70
+
```if(`exists unitySetupUI`){ unitySetupUI; }```
71
71
72
72
7. Open Autodesk® Maya® or Autodesk® Maya LT™, and then open the Script Editor:
Where you replace `{UnityProjectPath}` with the path to your Unity Project, and `{ExportSettingsPath}` with the path to *Integrations/Autodesk/maya/scripts/unityFbxExportSettings.mel* and `{ImportSettingsPath}` with the path to *Integrations/Autodesk/maya/scripts/unityFbxImportSettings.mel*.
80
80
@@ -121,16 +121,13 @@ __File__ > __Unity__ > __Export Model Only__ exports all Models in the selected
121
121
122
122
__File__ > __Unity__ > __Export Animation Only__ exports only the animation applied to the objects in the export set as well as the minimum components required for the animation (such as transforms).
123
123
124
-
> ***Note:*** If no animation file with the **@** notation has been imported, then this option has no effect. The workaround for exporting a new animation is to first import an empty FBX file with the **@** notation (*{model}@anim.fbx*), so that the export set is configured correctly.
124
+
> **NOTE:** If no animation file with the **@** notation has been imported, then this option has no effect. The workaround for exporting a new animation is to first import an empty FBX file with the **@** notation (*{model}@anim.fbx*), so that the export set is configured correctly.
125
125
126
126
In order to export objects from the desired export set, you can select one or more objects in the set or the set itself. In either case, the FBX Exporter exports the entire contents of the set.
127
127
128
128
If you select multiple sets or objects from multiple sets, then the FBX Exporter exports each set to its respective file defined in the attributes of the set.
129
129
130
130
131
-
### Known Issues
132
-
133
-
* Exporting animation only for animated lights and cameras is not currently supported
134
131
135
132
## Working with Autodesk® 3ds Max® 2017+
136
133
@@ -166,7 +163,7 @@ For instance, if you import a file called *[email protected]*, the export set is ba
166
163
167
164
This allows you to easily import animation files and apply them to the appropriate objects in the Scene. A single animation file is supported per Model file. Importing a new animation overwrites the existing animation in the Scene.
168
165
169
-
**Note:** Exporting animation only from Autodesk® 3ds Max® is not supported.
166
+
> **NOTE:** Exporting animation only from Autodesk® 3ds Max® is not supported.
170
167
171
168

172
169
@@ -217,7 +214,7 @@ To add an object to a set, select the set, select an object and click the __Add
217
214
218
215
To remove an object from a set, select the object in the set and click the __Subtract Selected Objects__ button.
219
216
220
-
> ***Tip:*** You can also right-click the UnityExportSets and add or remove objects using the context menu.
217
+
> **TIP:** You can also right-click the UnityExportSets and add or remove objects using the context menu.
221
218
222
219

0 commit comments