Class ConvertToPrefabVariantOptions
Class specifying the FBX export settings when converting to a Prefab Variant.
Inherited Members
Namespace: UnityEditor.Formats.Fbx.Exporter
Assembly: Unity.Formats.Fbx.Editor.dll
Syntax
[Serializable]
public class ConvertToPrefabVariantOptions
Properties
AnimateSkinnedMesh
Option to export the animation on GameObjects that have a skinned mesh.
Declaration
public bool AnimateSkinnedMesh { get; set; }
Property Value
Type | Description |
---|---|
bool |
AnimationDest
The transform to transfer the animation to. This GameObject receives the transform animation on GameObjects between Source and Destination as well as the animation on the Source itself.
Declaration
public Transform AnimationDest { get; set; }
Property Value
Type | Description |
---|---|
Transform |
AnimationSource
The transform to transfer the animation from. The animation is transferred to AnimationDest.
Declaration
public Transform AnimationSource { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Remarks
Transform must be an ancestor of AnimationDest, and may be an ancestor of the selected GameObject.
ExportFormat
The export format (binary or ascii).
Declaration
public ExportFormat ExportFormat { get; set; }
Property Value
Type | Description |
---|---|
ExportFormat |
UseMayaCompatibleNames
Option to convert the GameObject and material names to Maya compatible names.
Declaration
public bool UseMayaCompatibleNames { get; set; }
Property Value
Type | Description |
---|---|
bool |