using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Animation * @{ */ /// /// Flags that are used for describing how are tangents calculated for a specific keyframe in an animation curve. Modes /// for "in" and "out" tangents can be combined. /// public enum TangentMode { /// /// Tangent is infinite, ensuring there is a instantaneus jump between current and next keyframe value. /// OutStep = 514, /// Both tangents are calculated automatically based on the two surrounding keyframes. Auto = 0, /// Left tangent is calculated automatically based on the two surrounding keyframes. InAuto = 5, /// Tangent is calculated automatically based on the next keyframe. OutLinear = 258, /// Left tangent is manually adjusted by the user. InFree = 9, /// /// Tangent is infinite, ensuring there is a instantaneus jump between previous and current keyframe value. /// InStep = 33, /// Tangent is calculated automatically based on the previous keyframe. InLinear = 17, /// Right tangent is manually adjusted by the user. OutFree = 130, /// Right tangents are calculated automatically based on the two surrounding keyframes. OutAuto = 66, /// Both tangents are manually adjusted by the user. Free = 1024 } /** @} */ }