Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / EasingQuaternionKeyFrame.cs / 1305600 / EasingQuaternionKeyFrame.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value Linearly with Easing to produce its output value. /// public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(EasingQuaternionKeyFrame), new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox)); ////// If true, the animation will automatically flip the sign of the destination /// Quaternion to ensure the shortest path is taken. /// public bool UseShortestPath { get { return (bool) GetValue(UseShortestPathProperty); } set { SetValue(UseShortestPathProperty, value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Windows; using MS.Internal.KnownBoxes; namespace System.Windows.Media.Animation { ////// This class is used as part of a QuaternionKeyFrameCollection in /// conjunction with a KeyFrameQuaternionAnimation to animate a /// Quaternion property value along a set of key frames. /// /// This QuaternionKeyFrame interpolates the between the Quaternion Value of /// the previous key frame and its own Value Linearly with Easing to produce its output value. /// public partial class EasingQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(EasingQuaternionKeyFrame), new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox)); ////// If true, the animation will automatically flip the sign of the destination /// Quaternion to ensure the shortest path is taken. /// public bool UseShortestPath { get { return (bool) GetValue(UseShortestPathProperty); } set { SetValue(UseShortestPathProperty, value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExtensionDataObject.cs
- Opcode.cs
- WindowsToolbar.cs
- QilVisitor.cs
- CompilerGlobalScopeAttribute.cs
- EventDescriptorCollection.cs
- Int16Converter.cs
- KeyPressEvent.cs
- ProcessHostFactoryHelper.cs
- IisTraceWebEventProvider.cs
- NavigationPropertyEmitter.cs
- FirstMatchCodeGroup.cs
- InkPresenter.cs
- StyleXamlParser.cs
- RedBlackList.cs
- ItemCheckEvent.cs
- EllipseGeometry.cs
- SoapObjectWriter.cs
- ReliabilityContractAttribute.cs
- DesignerToolboxInfo.cs
- StringAnimationUsingKeyFrames.cs
- ProfileBuildProvider.cs
- FullTextLine.cs
- ProcessModule.cs
- CorePropertiesFilter.cs
- MsmqTransportSecurityElement.cs
- AuthenticateEventArgs.cs
- SizeAnimationBase.cs
- VisualTarget.cs
- DataViewSetting.cs
- StateWorkerRequest.cs
- TemplateBindingExpression.cs
- SystemKeyConverter.cs
- ReflectPropertyDescriptor.cs
- CompressStream.cs
- Matrix3DStack.cs
- XmlComplianceUtil.cs
- CommandValueSerializer.cs
- EventRoute.cs
- XPathPatternParser.cs
- StretchValidation.cs
- DelegateSerializationHolder.cs
- System.Data.OracleClient_BID.cs
- WasEndpointConfigContainer.cs
- ImageAnimator.cs
- AxisAngleRotation3D.cs
- IsolationInterop.cs
- XmlNodeChangedEventArgs.cs
- KerberosSecurityTokenProvider.cs
- HashLookup.cs
- EdmComplexPropertyAttribute.cs
- MultipleViewProviderWrapper.cs
- XPathNodeList.cs
- ScrollableControlDesigner.cs
- LabelTarget.cs
- GPPOINT.cs
- DesignerAttributeInfo.cs
- SQLInt64Storage.cs
- CssTextWriter.cs
- ColorConvertedBitmapExtension.cs
- X500Name.cs
- FillBehavior.cs
- ScrollViewerAutomationPeer.cs
- Visual3D.cs
- Shape.cs
- XmlSchemaComplexContent.cs
- MdImport.cs
- DataGridTableCollection.cs
- ConfigurationStrings.cs
- TdsParameterSetter.cs
- NonVisualControlAttribute.cs
- AdobeCFFWrapper.cs
- ToolTipAutomationPeer.cs
- HelpOperationInvoker.cs
- CodeArrayCreateExpression.cs
- SQLChars.cs
- GlyphInfoList.cs
- FormViewPagerRow.cs
- LabelAutomationPeer.cs
- CryptoSession.cs
- DataViewSettingCollection.cs
- followingsibling.cs
- XmlWriterTraceListener.cs
- ObjectResult.cs
- CultureInfoConverter.cs
- ISSmlParser.cs
- IntSecurity.cs
- LambdaCompiler.Address.cs
- XmlAttributeCache.cs
- BigInt.cs
- SpeechDetectedEventArgs.cs
- messageonlyhwndwrapper.cs
- SourceSwitch.cs
- CorrelationResolver.cs
- FormViewInsertedEventArgs.cs
- HMACSHA384.cs
- Byte.cs
- StylusDevice.cs
- StylusDownEventArgs.cs
- ExcludePathInfo.cs