Skip to content

Commit 16feef3

Browse files
author
David Lassonde
committed
More docs polish
1 parent 60a744f commit 16feef3

File tree

3 files changed

+32
-48
lines changed

3 files changed

+32
-48
lines changed

Packages/Documentation/com.unity.formats.fbx/Public/CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33
RELEASE NOTES
44
## [2.0.0] - 2018-06-18
55
NEW FEATURES
6-
* Added support for physical cameras
6+
* Added support for Physical Cameras
77
* FBX Exporter is now distributed via the Package Manager
88
* Now compatible with Unity 2018.2
99
* The roundtrip of assets can now be started from Maya from assets that have not been exported from Unity
1010
* DCC integration plug-in sources have been moved away from the package
1111
* Now using FBX SDK version 2018.1
12-
* Streamlined the API public interface
12+
* Conformed the Unity's API guidelines
1313
* Added support for exporting constraints
1414
* ConvertToPrefab: Add ability to convert an FBX or prefab asset from the Project view
15-
* Right click on an FBX in the project view then select Convert to Linked Prefab to create a linked prefab asset for the FBX file. It will not create an instance in the scene.
16-
* Right click on a prefab in the project view and select Convert to Linked Prefab to export the prefab to an FBX file and link the existing prefab to the newly created FBX.
15+
* Right click on an FBX file in the project view then select "Convert to Linked Prefab" to create a Linked Prefab asset for the FBX file. It will not create an instance in the scene.
16+
* Right click on a Prefab in the project view and select "Convert to Linked Prefab" to export the Prefab to an FBX file and link the existing Prefab to the newly created FBX file.
1717

1818
FIXES
19-
* Fixed skinned mesh bone update
20-
* Last frame was sometimes not exported
21-
* FBX export dialog hard to read in Unity Pro's dark theme
19+
* Fixed skinned mesh bone update when the number of bones change between updates
20+
* Keyframes were sometimes missing when exporting animation curves
21+
* The file name fields in the FBX export dialog were hard to read in Unity Pro's dark theme
2222

2323
KNOWN ISSUES
2424
* ConvertToPrefab: UI doesn't provide feedback about whether it will be converting an existing file or creating new files.
2525
* When converting an existing FBX file, the FBX filename and FBX export options are ignored (but not greyed out).
26-
* When converting an existing prefab, the prefab filename is ignored (but not greyed out)
26+
* When converting an existing Prefab, the Prefab filename is ignored (but not greyed out)
2727

2828
## [1.3.0f1] - 2018-04-17
2929
NEW FEATURES

Packages/com.unity.formats.fbx/Documentation~/com.unity.formats.fbx.md

Lines changed: 19 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The FBX Exporter package provides round-trip workflows between Unity and 3D mode
66

77
The FBX Exporter package includes the following features:
88

9-
* [FBX Exporter](#ExportFBX): 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://unity3d.com/unity/features/worldbuilding/probuilder), then export to FBX to replace with final assets.
9+
* [FBX Exporter](#ExportFBX): 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://unity3d.com/unity/features/worldbuilding/probuilder), then export to FBX to replace with final assets.
1010

1111
* [Linked Prefab](#LinkedPrefab): Link a Prefab to a new or existing FBX file. When you later change the FBX file, Unity automatically updates the Prefab to integrate changes to the transforms and hierarchy (in addition to Meshes and Materials). This helps you avoid rebuilding your Prefabs from scratch.
1212

@@ -44,25 +44,6 @@ The FBX Exporter package contains:
4444

4545
* The Fbx Exporter package does not support exporting .asset files.
4646

47-
48-
# Installing the FBX Exporter package in Unity
49-
50-
Before you install the FBX Exporter Package, follow these steps (recommended):
51-
52-
1. Back up your Project.
53-
54-
2. Restart Unity.
55-
56-
3. Delete the *FbxExporters* folder.
57-
58-
4. Select __Assets__ > __Import Package__ > __Custom Package__ in Unity.
59-
60-
![](images/FBXExporter_Menu.png)
61-
62-
5. Select the FbxExporter package from the file browser and click __Open__ to [import and install](https://docs.unity3d.com/Manual/AssetPackages.html) the new version of the FBX Exporter package.
63-
64-
65-
6647
<a name="Repairs_1_1_0b_1"></a>
6748
## Updating from 1.1.0b1
6849

@@ -98,10 +79,10 @@ The FBX Exporter exports the following objects:
9879
* Quads or Triangles
9980
* SkinnedMeshRenderers with the following exceptions:
10081
* Humanoid rigs are not supported
101-
* Animated meshes in bone hierarchy are not supported
82+
* Meshes in bone hierarchy are not supported
10283
* Materials as Phong if the material has specular; Lambert in all other cases
10384
* Textures
104-
* Game Cameras as film cameras with 35mm TV Projection; also the following camera attributes:
85+
* Game Cameras as film cameras with 35mm TV Projection. These camera attributes are also exported:
10586
* Projection type (perspective/orthographic)
10687
* Aperture Width and Height (Height set to 0.612 inches, and width calculated based on aspect ratio; for Game Cameras, aspect ratio is dictated by the display viewport)
10788
* Aspect ratio
@@ -142,11 +123,11 @@ When exporting an FBX file, the following Export Options window opens, displayin
142123

143124
| Property:| Function: |
144125
|:---|:---|
145-
|__Export Name__ |Specify the exported FBX's filename. |
126+
|__Export Name__ |Specify the exported FBX file name. |
146127
|__Export Path__ |Specify the location where the FBX Exporter will save the FBX file. |
147-
|__Source__ |Transfer the transform animation from this object to the __Destination__ transform. <br/><br/>**Notes:** - __Source__ must be an ancestor of __Destination__<br/> - __Source__ may be an ancestor of the selected object. |
128+
|__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. |
148129
|__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. |
149-
|__Export Format__ |Select the format for the FBX Exporter to use when exporting the FBX file (ASCII or binary). |
130+
|__Export Format__ |Select the format to use in the FBX file (ASCII or Binary). |
150131
|__Include__ |Choose whether to export both Models and Animation, only Models, or only Animations. |
151132
|__LOD level__ |For level of detail (LOD) groups, choose the desired level of detail to export (all, highest, or lowest). <br/><br/>**Notes:** - 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 |
152133
|__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. |
@@ -206,7 +187,7 @@ When converting to a Linked Prefab, the following window opens, displaying optio
206187

207188
| Property:| Function: |
208189
|:---|:---|
209-
|__Export Name__ |Specify the exported FBX's filename |
190+
|__Export Name__ |Specify the exported FBX file name |
210191
|__Export Path__ |Specify the location where the FBX Exporter will save the FBX file. |
211192
|__Prefab Name__ |Specify the Linked Prefab's filename |
212193
|__Prefab Path__ |Specify the location where the FBX Exporter will save the linked prefab file. |
@@ -218,6 +199,7 @@ When converting to a Linked Prefab, the following window opens, displaying optio
218199
|__Object(s) Position__ |__Convert to Linked Prefab Instance__ always resets the root object's transform during export. However, the Prefab maintains the global transform for the root object. |
219200
|__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. |
220201
|__Compatible Naming__ |Check this option to control renaming the GameObject and Materials during export. <br/><br/>The FBX Exporter ensures compatible naming with Maya to avoid unexpected name changes between Unity and Maya. 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 colon (":").<br/> - Adds an underscore ("_") to names that begin with a number. - Replaces diacritics. For example, replaces "é" with “e”.<br/><br/>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.<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. |
202+
|__Don't ask me again__ |When enabled, will prevent the Convert Option Properties dialog from being shown when converting to Linked Prefabs. The option can be reset by turning on "Show Convert UI" option under Edit/Project Settings/Fbx Export|
221203

222204

223205

@@ -321,36 +303,38 @@ Sometimes you need to install a Maya integration manually. For example, if you a
321303

322304
To manually install a Maya Integration, follow these steps:
323305

324-
1. Extract the *UnityFbxForMaya.zip* file in the *FbxExporters/* folder from the Unity package to a writable location. This can be in or outside of your Unity Project.
306+
1. Locate the *UnityFbxForMaya.zip* file. You can find it in Unity, using the Project Window, under "FBX Exporter/Editor/Integrations"
307+
308+
2. Extract the archive to a writable location. This can be in or outside of your Unity Project.
325309

326-
2. Copy the contents of *Integrations/Autodesk/maya/UnityFbxForMaya.txt* from the unzipped folder to the following file:
310+
3. Copy the contents of *Integrations/Autodesk/maya/UnityFbxForMaya.txt* from the unzipped folder to the following file:
327311

328312
* On Windows:<br/>*C:\Users\{username}\Documents\maya\modules\UnityFbxForMaya.mod*
329313
* On Mac:<br/>*$HOME/Library/Preferences/Autodesk/Maya/modules/UnityFbxForMaya.mod*
330314

331-
3. In *UnityFbxForMaya.mod*, modify the following line (mel code):
315+
4. In *UnityFbxForMaya.mod*, modify the following line (mel code):
332316
```
333317
+ UnityFbxForMaya {Version} {UnityIntegrationsPath}/Integrations/Autodesk/maya
334318
```
335319

336-
... where `{Version}` = `1.3.0b1` (or your version number of the FBX Exporter package) and `{UnityIntegrationsPath}` = the location where you unzipped UnityFbxForMaya.zip in step 1
320+
... where `{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
337321

338322

339-
4. Locate the following file (if it doesn't exist, create the file):
323+
5. Locate the following file (if it doesn't exist, create the file):
340324

341325
* On Windows: <br/>*C:\Users\{username}\Documents\maya\scripts\userSetup.mel*
342326
* On Mac: <br/>*$HOME/Library/Preferences/Autodesk/Maya/scripts/userSetup.mel*
343327

344-
5. Add this line (mel code):
328+
6. Add this line (mel code):
345329
```
346330
if(`exists unitySetupUI`){ unitySetupUI; }
347331
```
348332

349-
6. Open Maya, and then open the Script Editor:
333+
7. Open Maya, and then open the Script Editor:
350334

351335
![](images/FBXExporter_MayaAccessScriptEditor.png)
352336

353-
7. Run the following (mel code):
337+
8. Run the following (mel code):
354338
```
355339
unityConfigure "{UnityProjectPath}" "{ExportSettingsPath}" "{ImportSettingsPath}" 0 0;
356340
```
@@ -527,7 +511,7 @@ You can call the FBX Exporter from C# using methods found in the "UnityEditor.Fo
527511
using System.IO;
528512
using UnityEngine;
529513
using UnityEditor;
530-
using UnityEditor.Formats.Fbx.Exporter
514+
using UnityEditor.Formats.Fbx.Exporter;
531515
532516
public static void ExportGameObjects(Object[] objects)
533517
{

Packages/com.unity.formats.fbx/Editor/Scripts/FbxExporter.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected ModelExportException(SerializationInfo info, StreamingContext context)
5959

6060
/// <summary>
6161
/// The ModelExporter class can be used to export Unity game objects to an FBX File.
62-
/// To do so, simply use its ExportObject and ExportObjects methods. Default export
62+
/// To do so, simply use its ExportObject and ExportObjects methods. The default export
6363
/// options are used when exporting the objects to the FBX file.
6464
/// </summary>
6565
public sealed class ModelExporter : System.IDisposable
@@ -4098,10 +4098,10 @@ internal static string ExportObject (
40984098
}
40994099

41004100
/// <summary>
4101-
/// Exports an array of Unity objects to an FBX file.
4101+
/// Exports an array of Unity game objects to an FBX file.
41024102
/// Returns the FBX file path if successful, otherwise returns null.
41034103
/// </summary>
4104-
/// <param name="filePath">File path to use for the FBX file.</param>
4104+
/// <param name="filePath">Absolute file path to use for the FBX file.</param>
41054105
/// <param name="objects">Array of Unity objects to export.</param>
41064106
[SecurityPermission(SecurityAction.LinkDemand)]
41074107
public static string ExportObjects(string filePath, UnityEngine.Object[] objects = null)
@@ -4110,10 +4110,10 @@ public static string ExportObjects(string filePath, UnityEngine.Object[] objects
41104110
}
41114111

41124112
/// <summary>
4113-
/// Exports a single Unity object to an FBX file.
4113+
/// Exports a single Unity game object to an FBX file.
41144114
/// Returns the FBX file path if successful, otherwise returns null.
41154115
/// </summary>
4116-
/// <param name="filePath">The file path to use for the FBX file.</param>
4116+
/// <param name="filePath">Absolute file path to use for the FBX file.</param>
41174117
/// <param name="singleObject">The Unity object to export.</param>
41184118
[SecurityPermission(SecurityAction.LinkDemand)]
41194119
public static string ExportObject (string filePath, UnityEngine.Object singleObject)

0 commit comments

Comments
 (0)