Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- FileReservationCollection.cs
- ClockGroup.cs
- ReachDocumentReferenceCollectionSerializer.cs
- FlowLayoutPanel.cs
- Line.cs
- MatcherBuilder.cs
- DoubleIndependentAnimationStorage.cs
- PriorityItem.cs
- XmlTextReaderImpl.cs
- ProfileService.cs
- PageVisual.cs
- SystemMulticastIPAddressInformation.cs
- GridViewColumnHeader.cs
- ProgressBarHighlightConverter.cs
- EventDescriptor.cs
- ConfigurationValue.cs
- Track.cs
- AtomMaterializer.cs
- ReferencedAssembly.cs
- SafeUserTokenHandle.cs
- Emitter.cs
- KeyValueInternalCollection.cs
- ClientCredentials.cs
- DoubleAnimationUsingKeyFrames.cs
- ArrayWithOffset.cs
- DrawingAttributesDefaultValueFactory.cs
- PageCanvasSize.cs
- CipherData.cs
- Utility.cs
- MsmqOutputMessage.cs
- Query.cs
- SchemaDeclBase.cs
- BoundsDrawingContextWalker.cs
- PropertyGrid.cs
- DiscoveryReferences.cs
- SecurityState.cs
- Menu.cs
- RC2CryptoServiceProvider.cs
- SiteOfOriginPart.cs
- PropertyKey.cs
- Point3DConverter.cs
- DBConcurrencyException.cs
- XmlSerializerAssemblyAttribute.cs
- CodeTypeParameterCollection.cs
- OpenTypeCommon.cs
- PartialArray.cs
- Constant.cs
- ButtonField.cs
- MarginCollapsingState.cs
- EUCJPEncoding.cs
- UriParserTemplates.cs
- HandlerBase.cs
- DataColumnCollection.cs
- PathSegment.cs
- OleDbFactory.cs
- DataListDesigner.cs
- ObjectViewQueryResultData.cs
- ConfigXmlWhitespace.cs
- RelatedView.cs
- BigInt.cs
- Attributes.cs
- SQLBinaryStorage.cs
- InProcStateClientManager.cs
- SmtpFailedRecipientsException.cs
- GetIsBrowserClientRequest.cs
- CharacterBufferReference.cs
- XmlIlGenerator.cs
- TextElementEditingBehaviorAttribute.cs
- WrapperEqualityComparer.cs
- HttpCapabilitiesSectionHandler.cs
- DocumentCollection.cs
- ChtmlTextBoxAdapter.cs
- WebServiceHost.cs
- WebPartCatalogCloseVerb.cs
- SortedSet.cs
- DatePickerTextBox.cs
- StrokeNodeOperations2.cs
- InheritanceAttribute.cs
- errorpatternmatcher.cs
- WeakReferenceList.cs
- IndentTextWriter.cs
- ObservableCollectionDefaultValueFactory.cs
- SecurityProtocolFactory.cs
- XamlWriter.cs
- RegexMatchCollection.cs
- DictionaryKeyPropertyAttribute.cs
- SplineKeyFrames.cs
- CookieProtection.cs
- HwndProxyElementProvider.cs
- EntitySetDataBindingList.cs
- OleCmdHelper.cs
- DoubleLink.cs
- XmlIlGenerator.cs
- BuildTopDownAttribute.cs
- CodeArrayCreateExpression.cs
- SqlDataRecord.cs
- ValidationUtility.cs
- ICspAsymmetricAlgorithm.cs
- Parser.cs
- BitmapEffectGroup.cs