docs.unity3d.com
    Show / Hide Table of Contents

    Class ConvertToPrefabVariantOptions

    Class specifying the FBX export settings when converting to a Prefab Variant.

    Inheritance
    Object
    ConvertToPrefabVariantOptions
    Namespace: UnityEditor.Formats.Fbx.Exporter
    Syntax
    [Serializable]
    public class ConvertToPrefabVariantOptions : IExportOptions

    Properties

    AnimateSkinnedMesh

    Option to export the animation on GameObjects that have a skinned mesh.

    Declaration
    public bool AnimateSkinnedMesh { get; set; }
    Property Value
    Type Description
    Boolean

    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
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023