using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Animation
* @{
*/
///
/// Structure containing a reference to a keyframe tangent, as a keyframe reference and type of the tangent.
///
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct TangentRef
{
/// Initializes the struct with default values.
public static TangentRef Default()
{
TangentRef value = new TangentRef();
value.keyframeRef = new KeyframeRef();
value.type = TangentType.In;
return value;
}
public TangentRef(KeyframeRef keyframeRef, TangentType type)
{
this.keyframeRef = keyframeRef;
this.type = type;
}
public KeyframeRef keyframeRef;
public TangentType type;
}
/** @} */
}