Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (18)
108internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath)
110return Quaternion.Slerp(from, to, progress, useShortestPath);
207internal static Quaternion AddQuaternion(Quaternion value1, Quaternion value2)
309internal static Quaternion SubtractQuaternion(Quaternion value1, Quaternion value2)
446internal static Double GetSegmentLengthQuaternion(Quaternion from, Quaternion to)
557internal static Quaternion ScaleQuaternion(Quaternion value, Double factor)
680internal static bool IsValidAnimationValueQuaternion(Quaternion value)
802internal static Quaternion GetZeroValueQuaternion(Quaternion baseValue)
804return Quaternion.Identity;
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (36)
45private Quaternion[] _keyValues;
60Type typeofProp = typeof(Quaternion?);
69new PropertyMetadata((Quaternion?)null, propCallback),
76new PropertyMetadata((Quaternion?)null, propCallback),
83new PropertyMetadata((Quaternion?)null, propCallback),
107public QuaternionAnimation(Quaternion toValue, Duration duration)
119public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior)
132public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration)
145public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior)
218protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock)
235Quaternion from = Quaternion.Identity;
236Quaternion to = Quaternion.Identity;
237Quaternion accumulated = Quaternion.Identity;
238Quaternion foundation = Quaternion.Identity;
352Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from);
377_keyValues = new Quaternion[2];
384_keyValues = new Quaternion[2];
391_keyValues = new Quaternion[1];
398_keyValues = new Quaternion[1];
404_keyValues = new Quaternion[1];
425Quaternion? typedValue = (Quaternion?)value;
445public Quaternion? From
449return (Quaternion?)GetValue(FromProperty);
465public Quaternion? To
469return (Quaternion?)GetValue(ToProperty);
485public Quaternion? By
489return (Quaternion?)GetValue(ByProperty);
Core\CSharp\System\Windows\Media3D\Quaternion.cs (29)
119public static Quaternion Identity
289public static Quaternion operator +(Quaternion left, Quaternion right)
325public static Quaternion Add(Quaternion left, Quaternion right)
336public static Quaternion operator -(Quaternion left, Quaternion right)
371public static Quaternion Subtract(Quaternion left, Quaternion right)
382public static Quaternion operator *(Quaternion left, Quaternion right)
397Quaternion result = new Quaternion(x,y,z,w);
408public static Quaternion Multiply(Quaternion left, Quaternion right)
474public static Quaternion Slerp(Quaternion from, Quaternion to, double t)
489public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath)
758private static Quaternion GetIdentity()
761Quaternion q = new Quaternion(0,0,0,1);
771private static Quaternion s_identity = GetIdentity();