docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ConvertToPrefabVariantOptions

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

    Inheritance
    object
    ConvertToPrefabVariantOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)