Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / Animation / SplineQuaternionKeyFrame.cs / 1 / SplineQuaternionKeyFrame.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 to produce its output value. /// public partial class SplineQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(SplineQuaternionKeyFrame), 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 to produce its output value. /// public partial class SplineQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(SplineQuaternionKeyFrame), 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
- UseManagedPresentationBindingElement.cs
- PagesSection.cs
- XPathScanner.cs
- FixedSOMLineCollection.cs
- XmlValidatingReaderImpl.cs
- _ContextAwareResult.cs
- Localizer.cs
- ValueType.cs
- TextEffectCollection.cs
- WebCategoryAttribute.cs
- MultiAsyncResult.cs
- SqlMethodCallConverter.cs
- CommandHelper.cs
- SafeTimerHandle.cs
- StylusEventArgs.cs
- HttpRequestWrapper.cs
- Crc32.cs
- DemultiplexingClientMessageFormatter.cs
- DirectoryInfo.cs
- EditCommandColumn.cs
- InputReferenceExpression.cs
- RC2.cs
- CharStorage.cs
- HtmlHead.cs
- DateTimeOffset.cs
- DefaultDiscoveryServiceExtension.cs
- LinkedResourceCollection.cs
- ArrayTypeMismatchException.cs
- XPathNode.cs
- HttpRuntimeSection.cs
- ChannelFactory.cs
- XPathNodeList.cs
- Msec.cs
- XsdValidatingReader.cs
- MissingMethodException.cs
- Rect3DConverter.cs
- InfoCardArgumentException.cs
- DocumentViewer.cs
- BaseTreeIterator.cs
- CompilerScopeManager.cs
- ColumnHeader.cs
- WindowsSysHeader.cs
- StructureChangedEventArgs.cs
- ListManagerBindingsCollection.cs
- Point3DCollection.cs
- DiffuseMaterial.cs
- TemplateBindingExtension.cs
- CalendarDay.cs
- ImageSource.cs
- XmlComment.cs
- CheckBoxFlatAdapter.cs
- HtmlControl.cs
- MenuCommand.cs
- SafeFileMappingHandle.cs
- DictionaryChange.cs
- CssStyleCollection.cs
- SetterBaseCollection.cs
- XPathBinder.cs
- wmiprovider.cs
- Error.cs
- StatusBarDrawItemEvent.cs
- XPathParser.cs
- UnaryExpression.cs
- X509ClientCertificateAuthentication.cs
- ProcessHostFactoryHelper.cs
- Separator.cs
- ListViewInsertionMark.cs
- DataObject.cs
- HighContrastHelper.cs
- WindowsListViewGroupHelper.cs
- NativeMethodsOther.cs
- HighContrastHelper.cs
- TemplatedControlDesigner.cs
- XmlSchemaAnnotation.cs
- NameSpaceExtractor.cs
- TypeSchema.cs
- ComplexTypeEmitter.cs
- ListViewItem.cs
- SqlInfoMessageEvent.cs
- Wizard.cs
- CompositionTarget.cs
- NotifyParentPropertyAttribute.cs
- GeometryModel3D.cs
- DataTable.cs
- ValueQuery.cs
- MarkupExtensionParser.cs
- FeatureManager.cs
- sqlcontext.cs
- X509CertificateClaimSet.cs
- IsolatedStorageFilePermission.cs
- XsltCompileContext.cs
- FileStream.cs
- UserControl.cs
- BufferedGraphicsManager.cs
- WebBrowser.cs
- ResourcePermissionBaseEntry.cs
- _ConnectionGroup.cs
- InputProcessorProfiles.cs
- PanningMessageFilter.cs
- DirectoryInfo.cs