public AnimationCurveTpl(AnimationCurveTpl <T> copy) : this(copy.Curve) { PreInfinity = copy.PreInfinity; PostInfinity = copy.PostInfinity; RotationOrder = copy.RotationOrder; }
public FloatCurve(string path) { Curve = new AnimationCurveTpl <Float>(true); Attribute = string.Empty; Path = path; ClassID = 0; Script = default; }
public FloatCurve(string path, IReadOnlyList <KeyframeTpl <Float> > keyframes) { Curve = new AnimationCurveTpl <Float>(keyframes); Attribute = string.Empty; Path = path; ClassID = 0; Script = default; }
public AnimationCurveTpl(AnimationCurveTpl <T> copy) { Curve = new List <KeyframeTpl <T> >(copy.Curve.Count); foreach (KeyframeTpl <T> keyframe in copy.Curve) { KeyframeTpl <T> keyframeCopy = new KeyframeTpl <T>(keyframe); Curve.Add(keyframeCopy); } PreInfinity = copy.PreInfinity; PostInfinity = copy.PostInfinity; RotationOrder = copy.RotationOrder; }
public Vector3Curve(string path) { Curve = new AnimationCurveTpl <Vector3f>(2, 2, 4); Path = path; }
public QuaternionCurve(string path) { Curve = new AnimationCurveTpl <Quaternionf>(true); Path = path; }
public Vector3Curve(string path, IReadOnlyList <KeyframeTpl <Vector3f> > keyframes) { Curve = new AnimationCurveTpl <Vector3f>(keyframes); Path = path; }
public QuaternionCurve(string path, IReadOnlyList <KeyframeTpl <Quaternionf> > keyframes) { Curve = new AnimationCurveTpl <Quaternionf>(keyframes); Path = path; }