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 / SplineQuaternionKeyFrame.cs / 1 / SplineQuaternionKeyFrame.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 SplineQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(SplineQuaternionKeyFrame), 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 SplineQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(SplineQuaternionKeyFrame), 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
- CopyOnWriteList.cs
- ContainerParagraph.cs
- ApplicationId.cs
- HttpListenerTimeoutManager.cs
- PassportPrincipal.cs
- XmlSortKeyAccumulator.cs
- VectorKeyFrameCollection.cs
- NGCPageContentCollectionSerializerAsync.cs
- ContravarianceAdapter.cs
- BitmapEffectOutputConnector.cs
- DataTableNewRowEvent.cs
- PrintDialog.cs
- WebPartCancelEventArgs.cs
- MimeWriter.cs
- BitmapEncoder.cs
- HttpCachePolicyElement.cs
- XmlSerializerNamespaces.cs
- ObjectConverter.cs
- FactoryId.cs
- SafeTokenHandle.cs
- TextTreeExtractElementUndoUnit.cs
- SoapAttributes.cs
- ProvideValueServiceProvider.cs
- ipaddressinformationcollection.cs
- TextEncodedRawTextWriter.cs
- UnmanagedMemoryStream.cs
- RNGCryptoServiceProvider.cs
- DynamicDocumentPaginator.cs
- DtdParser.cs
- Nullable.cs
- DataViewSettingCollection.cs
- PathFigure.cs
- XomlCompilerResults.cs
- TableItemProviderWrapper.cs
- Bitmap.cs
- LogicalTreeHelper.cs
- CustomAttribute.cs
- SqlUDTStorage.cs
- webproxy.cs
- EventItfInfo.cs
- DLinqAssociationProvider.cs
- WCFBuildProvider.cs
- XmlSchemaChoice.cs
- PointAnimationUsingKeyFrames.cs
- httpserverutility.cs
- LinqDataSourceDeleteEventArgs.cs
- BitmapDownload.cs
- AppDomainUnloadedException.cs
- DataPagerField.cs
- CommandEventArgs.cs
- ClientConfigurationHost.cs
- hresults.cs
- DocumentSequence.cs
- SafeCertificateContext.cs
- XmlResolver.cs
- CancellationTokenSource.cs
- MetabaseServerConfig.cs
- Errors.cs
- XmlUrlResolver.cs
- XmlSchemaSubstitutionGroup.cs
- KeyFrames.cs
- SchemaElement.cs
- ScopelessEnumAttribute.cs
- LicenseManager.cs
- EventDescriptorCollection.cs
- XmlElementAttributes.cs
- StringToken.cs
- DockPatternIdentifiers.cs
- CacheMode.cs
- StopStoryboard.cs
- Point3DAnimationUsingKeyFrames.cs
- DrawingAttributeSerializer.cs
- ColorMatrix.cs
- PeerNeighborManager.cs
- SQLBytes.cs
- HwndPanningFeedback.cs
- URL.cs
- ItemList.cs
- LineGeometry.cs
- PassportPrincipal.cs
- HttpHeaderCollection.cs
- TextLineResult.cs
- LogWriteRestartAreaState.cs
- EntityDataSourceWrapper.cs
- IssuanceLicense.cs
- CodeArrayIndexerExpression.cs
- DiagnosticTrace.cs
- TextRenderingModeValidation.cs
- X509CertificateEndpointIdentity.cs
- TableCell.cs
- ControlAdapter.cs
- MarkupObject.cs
- VariantWrapper.cs
- ColorConvertedBitmapExtension.cs
- TreeViewItemAutomationPeer.cs
- RuleConditionDialog.cs
- AnyAllSearchOperator.cs
- MiniMapControl.xaml.cs
- AsymmetricCryptoHandle.cs
- SqlWriter.cs