Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1 / LinearQuaternionKeyFrame.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 LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- BinHexEncoding.cs
- RewritingSimplifier.cs
- SqlDataRecord.cs
- HitTestResult.cs
- StopStoryboard.cs
- ConfigPathUtility.cs
- PageThemeParser.cs
- UdpSocket.cs
- OdbcConnectionPoolProviderInfo.cs
- AuthenticateEventArgs.cs
- TextChangedEventArgs.cs
- TreeView.cs
- DocumentViewerBaseAutomationPeer.cs
- ThrowHelper.cs
- Enumerable.cs
- GridViewColumnCollectionChangedEventArgs.cs
- HwndHostAutomationPeer.cs
- ProcessRequestArgs.cs
- NativeMsmqMessage.cs
- NamedPipeDuplicateContext.cs
- TextParaLineResult.cs
- InvalidOleVariantTypeException.cs
- HtmlElementCollection.cs
- SourceFilter.cs
- XPathNodeHelper.cs
- PagesSection.cs
- ComponentCommands.cs
- MaskDescriptor.cs
- ListViewInsertionMark.cs
- SByteStorage.cs
- WindowsFormsHelpers.cs
- AuthenticationService.cs
- ContainerUtilities.cs
- ModuleBuilderData.cs
- SwitchCase.cs
- ImportedNamespaceContextItem.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PackageFilter.cs
- DesignerAdapterUtil.cs
- ListItemsPage.cs
- NetNamedPipeSecurityMode.cs
- AddInIpcChannel.cs
- WindowsBrush.cs
- IteratorDescriptor.cs
- Menu.cs
- MetadataItemEmitter.cs
- SQLInt64.cs
- QuaternionAnimation.cs
- AnnotationAdorner.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- TiffBitmapEncoder.cs
- RegistryHandle.cs
- WindowsListView.cs
- MetadataArtifactLoaderCompositeFile.cs
- ManipulationStartedEventArgs.cs
- PathSegment.cs
- DesignerAutoFormatStyle.cs
- METAHEADER.cs
- XmlSchemaInclude.cs
- ThreadAbortException.cs
- FileStream.cs
- TransactionProtocol.cs
- OleDbStruct.cs
- EventProviderWriter.cs
- FontCollection.cs
- HostingEnvironment.cs
- FunctionGenerator.cs
- QilDataSource.cs
- ProfileSettings.cs
- TagMapInfo.cs
- BitmapSource.cs
- RestHandlerFactory.cs
- GridViewUpdatedEventArgs.cs
- ListViewGroup.cs
- ResXBuildProvider.cs
- ModuleBuilder.cs
- Pair.cs
- _RequestCacheProtocol.cs
- Decorator.cs
- WebPartManager.cs
- TimestampInformation.cs
- login.cs
- SoapInteropTypes.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlEntity.cs
- InputEventArgs.cs
- WebPartHeaderCloseVerb.cs
- SettingsSavedEventArgs.cs
- TdsValueSetter.cs
- PropertyValueChangedEvent.cs
- ToolStripManager.cs
- StateManagedCollection.cs
- NamespaceCollection.cs
- LogExtentCollection.cs
- ValidationHelpers.cs
- MenuItemBinding.cs
- Verify.cs
- XmlSchemaComplexContentRestriction.cs
- EntityDataSourceMemberPath.cs
- DataObjectCopyingEventArgs.cs