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
- ClockGroup.cs
- PrintDocument.cs
- WorkflowMessageEventArgs.cs
- ReaderWriterLock.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- AmbientProperties.cs
- LambdaCompiler.Binary.cs
- JsonFormatWriterGenerator.cs
- WorkflowEnvironment.cs
- ItemCheckEvent.cs
- CookielessHelper.cs
- RegionIterator.cs
- ErrorLog.cs
- TdsParser.cs
- SineEase.cs
- PathGradientBrush.cs
- GPStream.cs
- HttpProfileGroupBase.cs
- WmpBitmapEncoder.cs
- OleDbWrapper.cs
- ChildChangedEventArgs.cs
- Stack.cs
- BuildProvidersCompiler.cs
- WindowsSlider.cs
- Light.cs
- WebBrowserDocumentCompletedEventHandler.cs
- RadioButtonRenderer.cs
- CodeComment.cs
- URL.cs
- ProfileGroupSettings.cs
- ProfilePropertySettings.cs
- FileClassifier.cs
- IOException.cs
- ProcessProtocolHandler.cs
- DataServiceClientException.cs
- XmlAttributeOverrides.cs
- SmtpLoginAuthenticationModule.cs
- PrtCap_Reader.cs
- DynamicValueConverter.cs
- DataGridViewHitTestInfo.cs
- ShortcutKeysEditor.cs
- CalendarModeChangedEventArgs.cs
- ErrorActivity.cs
- ConstNode.cs
- StyleHelper.cs
- DefaultPrintController.cs
- QueryContinueDragEventArgs.cs
- PointLight.cs
- SmtpTransport.cs
- RegexWorker.cs
- AccessDataSourceView.cs
- RsaKeyIdentifierClause.cs
- ListViewGroupConverter.cs
- TextDecorationCollection.cs
- SqlDataReaderSmi.cs
- SpellerInterop.cs
- SqlMethodCallConverter.cs
- GeneralTransform3DGroup.cs
- TypeToken.cs
- GregorianCalendar.cs
- DoWorkEventArgs.cs
- JumpTask.cs
- StylusSystemGestureEventArgs.cs
- ImplicitInputBrush.cs
- BuildTopDownAttribute.cs
- CodePageUtils.cs
- PolyLineSegmentFigureLogic.cs
- FormsAuthenticationConfiguration.cs
- Underline.cs
- SHA384Managed.cs
- StateMachineWorkflowInstance.cs
- InputMethodStateChangeEventArgs.cs
- WindowsTokenRoleProvider.cs
- StopStoryboard.cs
- SuppressMergeCheckAttribute.cs
- DropDownButton.cs
- MetadataCacheItem.cs
- SponsorHelper.cs
- MachineKeyConverter.cs
- SizeChangedInfo.cs
- TypeDescriptionProviderAttribute.cs
- DocumentGridPage.cs
- TextOutput.cs
- DBParameter.cs
- StoreItemCollection.Loader.cs
- XmlILAnnotation.cs
- TerminatorSinks.cs
- SQLSingle.cs
- TabControlToolboxItem.cs
- XmlSchemaSimpleTypeUnion.cs
- _NestedMultipleAsyncResult.cs
- WorkflowRuntimeServiceElementCollection.cs
- HtmlSelectionListAdapter.cs
- XmlValidatingReaderImpl.cs
- InfoCardAsymmetricCrypto.cs
- FileRecordSequence.cs
- ConnectionPoint.cs
- Triangle.cs
- Selector.cs
- XmlAttribute.cs