This commit is contained in:
2023-11-28 11:38:59 +05:30
commit ce059d4bf6
2742 changed files with 618089 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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;
}
}