Files
ChatGPT_CustomerSup/Assets/GLTFUtility-master/Scripts/Settings/AnimationSettings.cs
2023-11-28 11:38:59 +05:30

20 lines
761 B
C#

using System;
using UnityEngine;
using UnityEngine.Rendering;
namespace Siccity.GLTFUtility {
/// <summary> Defines how animations are imported </summary>
[Serializable]
public class AnimationSettings {
public bool looping;
[Tooltip("Sample rate set on all imported animation clips.")]
public float frameRate = 24;
[Tooltip("Interpolation mode applied to all keyframe tangents. Use Import From File when mixing modes within an animation.")]
public InterpolationMode interpolationMode = InterpolationMode.ImportFromFile;
[Tooltip("When true, remove redundant keyframes from blend shape animations.")]
public bool compressBlendShapeKeyFrames = true;
[Tooltip("Load animations as legacy AnimationClips.")]
public bool useLegacyClips;
}
}