MS\Internal\AnimatedTypeHelpers.cs (18)
110internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath)
112return 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)
682internal static bool IsValidAnimationValueQuaternion(Quaternion value)
804internal static Quaternion GetZeroValueQuaternion(Quaternion baseValue)
806return Quaternion.Identity;
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (36)
33private Quaternion[] _keyValues;
48Type typeofProp = typeof(Quaternion?);
57new PropertyMetadata((Quaternion?)null, propCallback),
64new PropertyMetadata((Quaternion?)null, propCallback),
71new PropertyMetadata((Quaternion?)null, propCallback),
95public QuaternionAnimation(Quaternion toValue, Duration duration)
107public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior)
120public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration)
133public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior)
206protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock)
223Quaternion from = Quaternion.Identity;
224Quaternion to = Quaternion.Identity;
225Quaternion accumulated = Quaternion.Identity;
226Quaternion foundation = Quaternion.Identity;
340Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from);
365_keyValues = new Quaternion[2];
372_keyValues = new Quaternion[2];
379_keyValues = new Quaternion[1];
386_keyValues = new Quaternion[1];
392_keyValues = new Quaternion[1];
413Quaternion? typedValue = (Quaternion?)value;
433public Quaternion? From
437return (Quaternion?)GetValue(FromProperty);
453public Quaternion? To
457return (Quaternion?)GetValue(ToProperty);
473public Quaternion? By
477return (Quaternion?)GetValue(ByProperty);
System\Windows\Media3D\Quaternion.cs (29)
95public static Quaternion Identity
265public static Quaternion operator +(Quaternion left, Quaternion right)
301public static Quaternion Add(Quaternion left, Quaternion right)
312public static Quaternion operator -(Quaternion left, Quaternion right)
347public static Quaternion Subtract(Quaternion left, Quaternion right)
358public static Quaternion operator *(Quaternion left, Quaternion right)
373Quaternion result = new Quaternion(x,y,z,w);
383public static Quaternion Multiply(Quaternion left, Quaternion right)
449public static Quaternion Slerp(Quaternion from, Quaternion to, double t)
464public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath)
733private static Quaternion GetIdentity()
736Quaternion q = new Quaternion(0,0,0,1);
746private static Quaternion s_identity = GetIdentity();