MS\Internal\AnimatedTypeHelpers.cs (18)
111internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath)
113return Quaternion.Slerp(from, to, progress, useShortestPath);
210internal static Quaternion AddQuaternion(Quaternion value1, Quaternion value2)
312internal static Quaternion SubtractQuaternion(Quaternion value1, Quaternion value2)
449internal static Double GetSegmentLengthQuaternion(Quaternion from, Quaternion to)
560internal static Quaternion ScaleQuaternion(Quaternion value, Double factor)
683internal static bool IsValidAnimationValueQuaternion(Quaternion value)
805internal static Quaternion GetZeroValueQuaternion(Quaternion baseValue)
807return Quaternion.Identity;
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (36)
43private Quaternion[] _keyValues;
58Type typeofProp = typeof(Quaternion?);
67new PropertyMetadata((Quaternion?)null, propCallback),
74new PropertyMetadata((Quaternion?)null, propCallback),
81new PropertyMetadata((Quaternion?)null, propCallback),
105public QuaternionAnimation(Quaternion toValue, Duration duration)
117public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior)
130public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration)
143public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior)
216protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock)
233Quaternion from = Quaternion.Identity;
234Quaternion to = Quaternion.Identity;
235Quaternion accumulated = Quaternion.Identity;
236Quaternion foundation = Quaternion.Identity;
350Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from);
375_keyValues = new Quaternion[2];
382_keyValues = new Quaternion[2];
389_keyValues = new Quaternion[1];
396_keyValues = new Quaternion[1];
402_keyValues = new Quaternion[1];
423Quaternion? typedValue = (Quaternion?)value;
443public Quaternion? From
447return (Quaternion?)GetValue(FromProperty);
463public Quaternion? To
467return (Quaternion?)GetValue(ToProperty);
483public Quaternion? By
487return (Quaternion?)GetValue(ByProperty);
System\Windows\Media3D\Quaternion.cs (29)
114public static Quaternion Identity
284public static Quaternion operator +(Quaternion left, Quaternion right)
320public static Quaternion Add(Quaternion left, Quaternion right)
331public static Quaternion operator -(Quaternion left, Quaternion right)
366public static Quaternion Subtract(Quaternion left, Quaternion right)
377public static Quaternion operator *(Quaternion left, Quaternion right)
392Quaternion result = new Quaternion(x,y,z,w);
402public static Quaternion Multiply(Quaternion left, Quaternion right)
468public static Quaternion Slerp(Quaternion from, Quaternion to, double t)
483public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath)
752private static Quaternion GetIdentity()
755Quaternion q = new Quaternion(0,0,0,1);
765private static Quaternion s_identity = GetIdentity();