Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ControlFilterExpression.cs
- SQLDateTimeStorage.cs
- Attachment.cs
- OuterGlowBitmapEffect.cs
- DataGridViewAdvancedBorderStyle.cs
- FontNamesConverter.cs
- DataSetUtil.cs
- MappingSource.cs
- StateMachineExecutionState.cs
- DataServiceResponse.cs
- HtmlElementErrorEventArgs.cs
- PerformanceCounterCategory.cs
- LowerCaseStringConverter.cs
- FullTrustAssembliesSection.cs
- XpsPackagingException.cs
- Timeline.cs
- Token.cs
- PriorityBinding.cs
- WindowsListViewItemCheckBox.cs
- CodeDirectiveCollection.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- HandlerBase.cs
- PerformanceCounterPermissionEntryCollection.cs
- Button.cs
- RequestCacheValidator.cs
- ClassHandlersStore.cs
- InstalledFontCollection.cs
- XmlException.cs
- DataTransferEventArgs.cs
- EditingCoordinator.cs
- SafeSecurityHandles.cs
- BitmapImage.cs
- CharacterMetricsDictionary.cs
- ProtocolsSection.cs
- CannotUnloadAppDomainException.cs
- CLSCompliantAttribute.cs
- TabPanel.cs
- QilPatternFactory.cs
- EventlogProvider.cs
- XmlDocumentType.cs
- DaylightTime.cs
- WindowsTokenRoleProvider.cs
- ArraySubsetEnumerator.cs
- dtdvalidator.cs
- Events.cs
- FloaterBaseParaClient.cs
- SettingsPropertyWrongTypeException.cs
- DataGridViewRow.cs
- mactripleDES.cs
- SqlFlattener.cs
- BitmapSource.cs
- documentsequencetextpointer.cs
- GeometryHitTestParameters.cs
- MailAddress.cs
- PointAnimationUsingPath.cs
- ObjectQueryExecutionPlan.cs
- PenContexts.cs
- Int32Collection.cs
- XmlAggregates.cs
- NumericUpDownAcceleration.cs
- SqlRecordBuffer.cs
- RowToFieldTransformer.cs
- WebPartUtil.cs
- GcSettings.cs
- QuadTree.cs
- Line.cs
- ACL.cs
- _SslState.cs
- ImageAttributes.cs
- ExecutedRoutedEventArgs.cs
- ThicknessConverter.cs
- VectorAnimation.cs
- SignatureToken.cs
- ObjectToken.cs
- SchemaNames.cs
- SmiMetaDataProperty.cs
- Exceptions.cs
- HTMLTextWriter.cs
- SqlBuffer.cs
- AspNetRouteServiceHttpHandler.cs
- WindowHideOrCloseTracker.cs
- OdbcConnectionHandle.cs
- SystemThemeKey.cs
- DecoderReplacementFallback.cs
- ImageIndexConverter.cs
- RegisteredArrayDeclaration.cs
- HttpStreamMessageEncoderFactory.cs
- TextureBrush.cs
- DataGridViewColumnDesigner.cs
- PathSegment.cs
- PriorityBinding.cs
- MessageProperties.cs
- GeneralTransform3DGroup.cs
- HMACRIPEMD160.cs
- XDeferredAxisSource.cs
- CardSpaceException.cs
- XsltArgumentList.cs
- ListenerUnsafeNativeMethods.cs
- NeutralResourcesLanguageAttribute.cs
- PersonalizableTypeEntry.cs