This commit is contained in:
左右看
2023-06-28 00:35:46 +08:00
parent cb5bab5ce9
commit 0d848e4d07
524 changed files with 78452 additions and 12 deletions
@@ -0,0 +1,27 @@
#if UNITY_ANIMATION || !UNITY_2019_1_OR_NEWER
using GLTF;
using GLTF.Schema;
namespace UnityGLTF.Cache
{
public struct AnimationSamplerCacheData
{
public AttributeAccessor Input;
public AttributeAccessor Output;
public InterpolationType Interpolation;
}
public class AnimationCacheData
{
public UnityEngine.AnimationClip LoadedAnimationClip { get; set; }
public AnimationSamplerCacheData[] Samplers { get; set; }
public AnimationCacheData(int samplerCount)
{
Samplers = new AnimationSamplerCacheData[samplerCount];
}
}
}
#endif