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 / 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
- FileCodeGroup.cs
- Soap12ServerProtocol.cs
- ObjectComplexPropertyMapping.cs
- LinkButton.cs
- XamlWriter.cs
- XsdDateTime.cs
- GenericIdentity.cs
- XPathPatternParser.cs
- BufferedReadStream.cs
- TemplateInstanceAttribute.cs
- CopyAttributesAction.cs
- SupportedAddressingMode.cs
- BuildDependencySet.cs
- ByteStack.cs
- MailAddress.cs
- CreateRefExpr.cs
- ProjectionPruner.cs
- InternalConfigRoot.cs
- IndexerHelper.cs
- FormViewModeEventArgs.cs
- EntityDataSource.cs
- InkCanvasInnerCanvas.cs
- EventProvider.cs
- DelegatedStream.cs
- URLMembershipCondition.cs
- AstTree.cs
- MediaElementAutomationPeer.cs
- StringConcat.cs
- DataSourceSelectArguments.cs
- Thread.cs
- FormViewCommandEventArgs.cs
- DeclarationUpdate.cs
- WindowsTooltip.cs
- GridViewRowEventArgs.cs
- ImageAnimator.cs
- SqlClientMetaDataCollectionNames.cs
- EntityCollection.cs
- GenericEnumerator.cs
- BuildDependencySet.cs
- XmlText.cs
- GridViewCommandEventArgs.cs
- HttpServerChannel.cs
- UIPropertyMetadata.cs
- CatalogPartChrome.cs
- ValueConversionAttribute.cs
- MailBnfHelper.cs
- ComponentResourceKey.cs
- ZipIOLocalFileHeader.cs
- ArglessEventHandlerProxy.cs
- EntityDataSourceViewSchema.cs
- MatrixCamera.cs
- Crc32.cs
- ObjectContextServiceProvider.cs
- Task.cs
- LinqExpressionNormalizer.cs
- AnnouncementEndpoint.cs
- IdentityReference.cs
- TypeTypeConverter.cs
- DrawingCollection.cs
- IndexOutOfRangeException.cs
- QueryResults.cs
- ListQueryResults.cs
- OrderedDictionaryStateHelper.cs
- RemotingException.cs
- X509Certificate2.cs
- ObjectQuery_EntitySqlExtensions.cs
- DBAsyncResult.cs
- HttpModuleCollection.cs
- StylusTouchDevice.cs
- ReplacementText.cs
- TemplateField.cs
- Int64Storage.cs
- MetadataProperty.cs
- CodeDelegateInvokeExpression.cs
- DataGridViewTopLeftHeaderCell.cs
- TypePresenter.xaml.cs
- SecurityRuntime.cs
- PanningMessageFilter.cs
- ScrollBar.cs
- OdbcConnectionHandle.cs
- EventProvider.cs
- DBAsyncResult.cs
- DeviceOverridableAttribute.cs
- QueryCursorEventArgs.cs
- Image.cs
- ToolBar.cs
- DeferrableContent.cs
- SerializationStore.cs
- GuidTagList.cs
- ValidatingCollection.cs
- CLSCompliantAttribute.cs
- AnimationClock.cs
- BoolLiteral.cs
- SpeechSynthesizer.cs
- PathFigureCollection.cs
- SqlCacheDependencySection.cs
- ProxyGenerationError.cs
- SpecialFolderEnumConverter.cs
- MergeFilterQuery.cs
- SystemWebExtensionsSectionGroup.cs