MS\Internal\AnimatedTypeHelpers.cs (18)
109internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath)
111return Quaternion.Slerp(from, to, progress, useShortestPath);
209internal static Quaternion AddQuaternion(Quaternion value1, Quaternion value2)
311internal static Quaternion SubtractQuaternion(Quaternion value1, Quaternion value2)
448internal static Double GetSegmentLengthQuaternion(Quaternion from, Quaternion to)
559internal 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)
32private Quaternion[] _keyValues;
47Type typeofProp = typeof(Quaternion?);
56new PropertyMetadata((Quaternion?)null, propCallback),
63new PropertyMetadata((Quaternion?)null, propCallback),
70new PropertyMetadata((Quaternion?)null, propCallback),
94public QuaternionAnimation(Quaternion toValue, Duration duration)
106public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior)
119public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration)
132public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior)
205protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock)
222Quaternion from = Quaternion.Identity;
223Quaternion to = Quaternion.Identity;
224Quaternion accumulated = Quaternion.Identity;
225Quaternion foundation = Quaternion.Identity;
339Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from);
364_keyValues = new Quaternion[2];
371_keyValues = new Quaternion[2];
378_keyValues = new Quaternion[1];
385_keyValues = new Quaternion[1];
391_keyValues = new Quaternion[1];
412Quaternion? typedValue = (Quaternion?)value;
432public Quaternion? From
436return (Quaternion?)GetValue(FromProperty);
452public Quaternion? To
456return (Quaternion?)GetValue(ToProperty);
472public Quaternion? By
476return (Quaternion?)GetValue(ByProperty);
System\Windows\Media3D\Quaternion.cs (29)
94public static Quaternion Identity
264public static Quaternion operator +(Quaternion left, Quaternion right)
300public static Quaternion Add(Quaternion left, Quaternion right)
311public static Quaternion operator -(Quaternion left, Quaternion right)
346public static Quaternion Subtract(Quaternion left, Quaternion right)
357public static Quaternion operator *(Quaternion left, Quaternion right)
372Quaternion result = new Quaternion(x,y,z,w);
382public static Quaternion Multiply(Quaternion left, Quaternion right)
448public static Quaternion Slerp(Quaternion from, Quaternion to, double t)
463public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath)
732private static Quaternion GetIdentity()
735Quaternion q = new Quaternion(0, 0, 0, 1)
747private static Quaternion s_identity = GetIdentity();