/// <summary>
 /// Constructs a new 3D vector animation curve.
 /// </summary>
 /// <param name="x">Curve representing the x axis of the vector.</param>
 /// <param name="y">Curve representing the y axis of the vector.</param>
 /// <param name="z">Curve representing the z axis of the vector.</param>
 public Vector3Curve(AnimationCurve x, AnimationCurve y, AnimationCurve z)
 {
     X = x;
     Y = y;
     Z = z;
 }
 /// <summary>
 /// Constructor for internal runtime use only.
 /// </summary>
 /// <param name="name">Name of the curve.</param>
 /// <param name="flags">Flags that describe the animation curve, of type <see cref="AnimationCurveFlags"/>.</param>
 /// <param name="x">Curve representing the x axis of the vector.</param>
 /// <param name="y">Curve representing the y axis of the vector.</param>
 /// <param name="z">Curve representing the z axis of the vector.</param>
 private NamedVector3Curve(string name, int flags, AnimationCurve x, AnimationCurve y, AnimationCurve z)
 {
     Name = name;
     Flags = (AnimationCurveFlags) flags;
     X = x;
     Y = y;
     Z = z;
 }
 /// <summary>
 /// Constructs a new quaternion animation curve.
 /// </summary>
 /// <param name="x">Curve representing the x component of the quaternion.</param>
 /// <param name="y">Curve representing the y component of the quaternion.</param>
 /// <param name="z">Curve representing the z component of the quaternion.</param>
 /// <param name="w">Curve representing the w component of the quaternion.</param>
 public QuaternionCurve(AnimationCurve x, AnimationCurve y, AnimationCurve z, AnimationCurve w)
 {
     X = x;
     Y = y;
     Z = z;
     W = w;
 }
 /// <summary>
 /// Constructs a new named animation curve.
 /// </summary>
 /// <param name="name">Name of the curve.</param>
 /// <param name="x">Curve representing the x axis of the vector.</param>
 /// <param name="y">Curve representing the y axis of the vector.</param>
 /// <param name="z">Curve representing the z axis of the vector.</param>
 public NamedVector3Curve(string name, AnimationCurve x, AnimationCurve y, AnimationCurve z)
 {
     Name = name;
     X = x;
     Y = y;
     Z = z;
 }
 /// <summary>
 /// Constructor for internal runtime use only.
 /// </summary>
 /// <param name="name">Name of the curve.</param>
 /// <param name="flags">Flags that describe the animation curve, of type <see cref="AnimationCurveFlags"/>.</param>
 /// <param name="curve">Curve representing the floating point values.</param>
 private NamedFloatCurve(string name, int flags, AnimationCurve curve)
 {
     Name = name;
     Flags = (AnimationCurveFlags)flags;
     Curve = curve;
 }
 /// <summary>
 /// Constructs a new named animation curve.
 /// </summary>
 /// <param name="name">Name of the curve.</param>
 /// <param name="curve">Curve representing the floating point values.</param>
 public NamedFloatCurve(string name, AnimationCurve curve)
 {
     Name = name;
     Curve = curve;
 }
 private static extern void Internal_Create(AnimationCurve instance, KeyFrame[] keyframes);
Example #8
0
 private static extern void Internal_TAnimationCurve(AnimationCurve managedInstance, KeyFrame[] keyframes);