Files
Shopkeeper/Packages/org.khronos.unitygltf/Runtime/Scripts/Cache/AnimationCacheData.cs
Caleb Sandford deQuincey e9c9bc4409 initial game submission
2025-06-11 13:04:35 +01:00

28 lines
561 B
C#

#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