Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1305600 / 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
- DataGridViewLinkCell.cs
- RewritingPass.cs
- ListDictionaryInternal.cs
- PrintEvent.cs
- InvokeProviderWrapper.cs
- SQLChars.cs
- SimpleWebHandlerParser.cs
- storepermissionattribute.cs
- WSTrustDec2005.cs
- ModelChangedEventArgsImpl.cs
- XPathExpr.cs
- NegationPusher.cs
- CachedTypeface.cs
- MenuItemCollection.cs
- DirectoryObjectSecurity.cs
- EndOfStreamException.cs
- XpsResourceDictionary.cs
- ToolStripContentPanelDesigner.cs
- XamlStyleSerializer.cs
- CompositeCollectionView.cs
- CustomCredentialPolicy.cs
- SocketAddress.cs
- OpenFileDialog.cs
- XmlSchemaProviderAttribute.cs
- ActivityDesignerLayoutSerializers.cs
- DbTransaction.cs
- GeneralTransformGroup.cs
- COAUTHINFO.cs
- SqlDataAdapter.cs
- XmlAttributeAttribute.cs
- RoleManagerSection.cs
- GroupItemAutomationPeer.cs
- ExceptionUtil.cs
- XPathSingletonIterator.cs
- DeferredTextReference.cs
- DictionaryMarkupSerializer.cs
- CodeParameterDeclarationExpressionCollection.cs
- ViewCellRelation.cs
- ComplexPropertyEntry.cs
- GeometryCombineModeValidation.cs
- EdmToObjectNamespaceMap.cs
- InstancePersistenceException.cs
- BinaryQueryOperator.cs
- EntitySqlQueryCacheKey.cs
- DataGridViewSelectedRowCollection.cs
- InheritanceContextChangedEventManager.cs
- NGCSerializationManagerAsync.cs
- RelationshipDetailsRow.cs
- FormatException.cs
- ToolStripRenderEventArgs.cs
- Journaling.cs
- FragmentQuery.cs
- SignatureToken.cs
- grammarelement.cs
- FixedDocumentSequencePaginator.cs
- InfoCardX509Validator.cs
- PerformanceCounterPermission.cs
- CounterSample.cs
- CompressionTransform.cs
- InlineUIContainer.cs
- BinaryReader.cs
- ParallelTimeline.cs
- DbConnectionOptions.cs
- ConnectionManagementElementCollection.cs
- MaskedTextProvider.cs
- glyphs.cs
- SimpleApplicationHost.cs
- BaseParagraph.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlMtomWriter.cs
- Compiler.cs
- ProcessInfo.cs
- QueryAsyncResult.cs
- TitleStyle.cs
- StorageSetMapping.cs
- NumericExpr.cs
- TableCell.cs
- IndexedString.cs
- DbXmlEnabledProviderManifest.cs
- SqlBuffer.cs
- PngBitmapEncoder.cs
- _FtpControlStream.cs
- EntitySqlQueryCacheKey.cs
- ExpressionLexer.cs
- SchemaImporterExtensionElement.cs
- TerminatorSinks.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TileModeValidation.cs
- Cursor.cs
- FixedTextSelectionProcessor.cs
- DataRow.cs
- StringSource.cs
- MobilePage.cs
- PathFigureCollection.cs
- ArrayWithOffset.cs
- ExtendedProperty.cs
- UrlAuthFailureHandler.cs
- StyleSelector.cs
- XsltFunctions.cs
- HttpCacheVary.cs