

using System;

namespace UniGLTF
{
    [Serializable]
    public class GltfExportSettings
    {
        public Axes InverseAxis = Axes.Z;

        /// <summary>
        /// https://github.com/vrm-c/UniVRM/issues/800
        ///
        /// VertexBuffer を共有バッファ方式にする
        /// UniVRM-0.71.0 までの挙動
        /// </summary>
        public bool DivideVertexBuffer;

        /// <summary>
        /// MorphTarget に Sparse Accessor を使う
        /// </summary>
        public bool UseSparseAccessorForMorphTarget;

        /// <summary>
        /// MorphTarget を Position だけにする(normal とか捨てる)
        /// </summary>
        public bool ExportOnlyBlendShapePosition;

        /// <summary>
        /// tangent を出力する
        /// </summary>
        public bool ExportTangents
#if GLTF_EXPORT_TANGENTS
             = true,
#endif            
        ;

        /// <summary>
        /// VRMC_materials_hdr_emissiveMultiplier
        /// </summary>
        public bool UseEmissiveMultiplier;

        /// <summary>
        /// Keep VertexColor
        /// </summary>
        public bool KeepVertexColor;
    }
}
