using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Animation
* @{
*/
/// An animation curve and its name.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct NamedFloatCurve
{
/// Initializes the struct with default values.
public static NamedFloatCurve Default()
{
NamedFloatCurve value = new NamedFloatCurve();
value.name = "";
value.flags = (AnimationCurveFlags)0;
value.curve = null;
return value;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Curve containing the animation data.
public NamedFloatCurve(string name, AnimationCurve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Flags that describe the animation curve.
/// Curve containing the animation data.
public NamedFloatCurve(string name, AnimationCurveFlags flags, AnimationCurve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Name of the curve.
public string name;
/// Flags that describe the animation curve.
public AnimationCurveFlags flags;
/// Actual curve containing animation data.
public AnimationCurve curve;
}
/** @} */
/** @addtogroup Animation
* @{
*/
/// An animation curve and its name.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct NamedVector3Curve
{
/// Initializes the struct with default values.
public static NamedVector3Curve Default()
{
NamedVector3Curve value = new NamedVector3Curve();
value.name = "";
value.flags = (AnimationCurveFlags)0;
value.curve = null;
return value;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Curve containing the animation data.
public NamedVector3Curve(string name, Vector3Curve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Flags that describe the animation curve.
/// Curve containing the animation data.
public NamedVector3Curve(string name, AnimationCurveFlags flags, Vector3Curve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Name of the curve.
public string name;
/// Flags that describe the animation curve.
public AnimationCurveFlags flags;
/// Actual curve containing animation data.
public Vector3Curve curve;
}
/** @} */
/** @addtogroup Animation
* @{
*/
/// An animation curve and its name.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct NamedQuaternionCurve
{
/// Initializes the struct with default values.
public static NamedQuaternionCurve Default()
{
NamedQuaternionCurve value = new NamedQuaternionCurve();
value.name = "";
value.flags = (AnimationCurveFlags)0;
value.curve = null;
return value;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Curve containing the animation data.
public NamedQuaternionCurve(string name, QuaternionCurve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Flags that describe the animation curve.
/// Curve containing the animation data.
public NamedQuaternionCurve(string name, AnimationCurveFlags flags, QuaternionCurve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Name of the curve.
public string name;
/// Flags that describe the animation curve.
public AnimationCurveFlags flags;
/// Actual curve containing animation data.
public QuaternionCurve curve;
}
/** @} */
/** @addtogroup Animation
* @{
*/
/// An animation curve and its name.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct NamedIntegerCurve
{
/// Initializes the struct with default values.
public static NamedIntegerCurve Default()
{
NamedIntegerCurve value = new NamedIntegerCurve();
value.name = "";
value.flags = (AnimationCurveFlags)0;
value.curve = null;
return value;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Curve containing the animation data.
public NamedIntegerCurve(string name, IntegerCurve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Constructs a new named animation curve.
/// Name of the curve.
/// Flags that describe the animation curve.
/// Curve containing the animation data.
public NamedIntegerCurve(string name, AnimationCurveFlags flags, IntegerCurve curve)
{
this.name = name;
this.flags = (AnimationCurveFlags)0;
this.curve = curve;
}
/// Name of the curve.
public string name;
/// Flags that describe the animation curve.
public AnimationCurveFlags flags;
/// Actual curve containing animation data.
public IntegerCurve curve;
}
/** @} */
}