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
- LineMetrics.cs
- BulletDecorator.cs
- AttributeSetAction.cs
- TiffBitmapDecoder.cs
- HttpModuleAction.cs
- CharacterHit.cs
- MSAAWinEventWrap.cs
- ProcessThreadCollection.cs
- GeometryHitTestParameters.cs
- Error.cs
- ByteStack.cs
- CollectionChange.cs
- XmlAttributeCollection.cs
- WhiteSpaceTrimStringConverter.cs
- UnknownBitmapEncoder.cs
- PointHitTestParameters.cs
- PersistChildrenAttribute.cs
- TheQuery.cs
- Keywords.cs
- SrgsOneOf.cs
- LabelLiteral.cs
- AsnEncodedData.cs
- SqlVisitor.cs
- EUCJPEncoding.cs
- ImageList.cs
- LinkedResource.cs
- OutOfProcStateClientManager.cs
- WebPartConnectionsCloseVerb.cs
- ProfessionalColors.cs
- XmlSchemaComplexType.cs
- JournalEntryListConverter.cs
- EntityDataSourceChangedEventArgs.cs
- KnownTypesHelper.cs
- RectangleHotSpot.cs
- LinkedResource.cs
- GeneralTransform3D.cs
- SymbolDocumentInfo.cs
- EUCJPEncoding.cs
- RuntimeCompatibilityAttribute.cs
- OlePropertyStructs.cs
- ProcessHost.cs
- Timeline.cs
- GridEntryCollection.cs
- SiteMapNodeCollection.cs
- ScrollItemPattern.cs
- DataTable.cs
- CodeDirectoryCompiler.cs
- ListBindableAttribute.cs
- PropertyInfo.cs
- TextLine.cs
- XPathSelectionIterator.cs
- GridToolTip.cs
- HexParser.cs
- HtmlSelect.cs
- KeyInfo.cs
- HeaderedContentControl.cs
- SynchronousChannel.cs
- DocumentSequence.cs
- SAPICategories.cs
- ProcessHost.cs
- ConversionValidationRule.cs
- ImageSource.cs
- DefaultBindingPropertyAttribute.cs
- commandenforcer.cs
- EventLogQuery.cs
- SpellerHighlightLayer.cs
- MetadataImporterQuotas.cs
- CustomAttribute.cs
- IItemContainerGenerator.cs
- WindowsImpersonationContext.cs
- KnownColorTable.cs
- ConfigPathUtility.cs
- ItemCollection.cs
- BaseParser.cs
- ACL.cs
- TraversalRequest.cs
- DomNameTable.cs
- MetadataUtilsSmi.cs
- SafeCloseHandleCritical.cs
- TimerElapsedEvenArgs.cs
- NodeLabelEditEvent.cs
- WorkflowElementDialog.cs
- NameNode.cs
- DataGridColumnDropSeparator.cs
- StronglyTypedResourceBuilder.cs
- DataPointer.cs
- RowSpanVector.cs
- XPathQueryGenerator.cs
- BitStream.cs
- XamlValidatingReader.cs
- DefaultBindingPropertyAttribute.cs
- SettingsSection.cs
- DelegatingChannelListener.cs
- SerializerProvider.cs
- SingleSelectRootGridEntry.cs
- RowToFieldTransformer.cs
- WebConfigurationFileMap.cs
- DictionarySectionHandler.cs
- CodeNamespaceImport.cs
- CachedFontFamily.cs