| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace BansheeEngine
- {
- /** @addtogroup Animation
- * @{
- */
- /// <summary>
- /// Structure containing a reference to a keyframe tangent, as a keyframe reference and type of the tangent.
- /// </summary>
- [StructLayout(LayoutKind.Sequential), SerializeObject]
- public partial struct TangentRef
- {
- /// <summary>Initializes the struct with default values.</summary>
- 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;
- }
- /** @} */
- }
|