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
- WebZone.cs
- StorageComplexPropertyMapping.cs
- DbConnectionPoolIdentity.cs
- ListBindableAttribute.cs
- RangeContentEnumerator.cs
- _NegotiateClient.cs
- PageThemeParser.cs
- FileDialogCustomPlaces.cs
- WorkflowCreationContext.cs
- Parameter.cs
- ClientBuildManagerCallback.cs
- AmbiguousMatchException.cs
- MonthCalendarDesigner.cs
- MsmqElementBase.cs
- CurrentChangingEventArgs.cs
- SQLDateTime.cs
- SemaphoreSlim.cs
- IPHostEntry.cs
- TemplateControlBuildProvider.cs
- Events.cs
- TargetParameterCountException.cs
- CodeArgumentReferenceExpression.cs
- IriParsingElement.cs
- MouseGesture.cs
- UnsafeNativeMethodsPenimc.cs
- VBCodeProvider.cs
- WebPartConnectionsConfigureVerb.cs
- EventMappingSettings.cs
- TransformPattern.cs
- ToolstripProfessionalRenderer.cs
- ServicesUtilities.cs
- XmlAttributeOverrides.cs
- XmlNamespaceMapping.cs
- GridView.cs
- ToolStripItemTextRenderEventArgs.cs
- SecurityCredentialsManager.cs
- ToggleProviderWrapper.cs
- XsdCachingReader.cs
- VisualTarget.cs
- CommandTreeTypeHelper.cs
- ParameterCollection.cs
- Typeface.cs
- SettingsPropertyWrongTypeException.cs
- BitStream.cs
- Trace.cs
- DSGeneratorProblem.cs
- MergablePropertyAttribute.cs
- PropertyFilterAttribute.cs
- CodeDomConfigurationHandler.cs
- ScriptResourceInfo.cs
- IsolatedStoragePermission.cs
- SchemaElementDecl.cs
- XPathSelectionIterator.cs
- XmlWrappingReader.cs
- SafeRightsManagementPubHandle.cs
- SqlRowUpdatingEvent.cs
- XmlSchemaChoice.cs
- ButtonAutomationPeer.cs
- UnauthorizedWebPart.cs
- _AutoWebProxyScriptEngine.cs
- FrameworkContentElementAutomationPeer.cs
- SingleAnimationUsingKeyFrames.cs
- AbsoluteQuery.cs
- OdbcUtils.cs
- CodeParameterDeclarationExpressionCollection.cs
- RecognizerInfo.cs
- SHA1Managed.cs
- PerformanceCounterCategory.cs
- DataTableClearEvent.cs
- TabControlCancelEvent.cs
- ValueUnavailableException.cs
- SQLInt16.cs
- MimeTypePropertyAttribute.cs
- TextOutput.cs
- HttpCachePolicy.cs
- ListenerSessionConnection.cs
- Query.cs
- MD5CryptoServiceProvider.cs
- SingleObjectCollection.cs
- HtmlFormParameterReader.cs
- IsolatedStorageFilePermission.cs
- Atom10FormatterFactory.cs
- Pkcs7Recipient.cs
- SuppressMergeCheckAttribute.cs
- HeaderedItemsControl.cs
- X509Extension.cs
- GraphicsPathIterator.cs
- ObjectStateManagerMetadata.cs
- TrustLevelCollection.cs
- KeyEvent.cs
- WindowsGraphicsCacheManager.cs
- SqlTriggerAttribute.cs
- SqlNode.cs
- AnnotationDocumentPaginator.cs
- ServiceDurableInstanceContextProvider.cs
- OptimizerPatterns.cs
- EdgeProfileValidation.cs
- VirtualizingStackPanel.cs
- Cursors.cs
- DefaultValueMapping.cs