Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / SplineQuaternionKeyFrame.cs / 1305600 / 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
- EntityDataSourceStatementEditor.cs
- SessionStateSection.cs
- QueryCacheKey.cs
- ContactManager.cs
- ToolStripRendererSwitcher.cs
- TransactionFlowBindingElementImporter.cs
- SqlConnectionHelper.cs
- AttachedProperty.cs
- WindowsClaimSet.cs
- EventDescriptorCollection.cs
- AdRotatorDesigner.cs
- ConsoleKeyInfo.cs
- FtpWebRequest.cs
- CorrelationService.cs
- GuidTagList.cs
- TemplateNameScope.cs
- TypeHelper.cs
- PerspectiveCamera.cs
- ExpressionBuilder.cs
- HttpCacheVary.cs
- ReflectionServiceProvider.cs
- SafeCryptHandles.cs
- QueryableDataSource.cs
- XPathNodeList.cs
- dataprotectionpermissionattribute.cs
- QilList.cs
- BuildProvidersCompiler.cs
- ObjectDataSourceDisposingEventArgs.cs
- Point3DConverter.cs
- HtmlTableCellCollection.cs
- ChangesetResponse.cs
- PerformanceCounterManager.cs
- CodeDOMProvider.cs
- XmlCountingReader.cs
- MiniMapControl.xaml.cs
- Buffer.cs
- _RequestCacheProtocol.cs
- WorkflowEnvironment.cs
- UnionExpr.cs
- PageParser.cs
- MemoryPressure.cs
- SiteMapProvider.cs
- LabelEditEvent.cs
- ChtmlTextWriter.cs
- StylusButtonEventArgs.cs
- AttributeCollection.cs
- CalendarDataBindingHandler.cs
- RepeaterItem.cs
- ParagraphVisual.cs
- ListChunk.cs
- ProfileBuildProvider.cs
- TextEffectResolver.cs
- SystemInformation.cs
- ToolStripRenderEventArgs.cs
- __TransparentProxy.cs
- StringUtil.cs
- TextEndOfSegment.cs
- PaperSize.cs
- EncryptedReference.cs
- TreeNodeStyle.cs
- datacache.cs
- WebPart.cs
- ComponentEditorForm.cs
- Cursor.cs
- CheckableControlBaseAdapter.cs
- Operand.cs
- FormsAuthenticationConfiguration.cs
- SafeIUnknown.cs
- AppDomainProtocolHandler.cs
- SafeCancelMibChangeNotify.cs
- ProxyWebPartManager.cs
- EventMappingSettingsCollection.cs
- InputLanguageManager.cs
- MobileCategoryAttribute.cs
- PackageRelationshipSelector.cs
- MessageHeaderDescriptionCollection.cs
- TraceUtils.cs
- NegationPusher.cs
- LoadMessageLogger.cs
- _LazyAsyncResult.cs
- SspiSecurityToken.cs
- LinkedDataMemberFieldEditor.cs
- DATA_BLOB.cs
- SessionPageStateSection.cs
- PerformanceCounters.cs
- BitmapDownload.cs
- ProcessHost.cs
- Span.cs
- CompModSwitches.cs
- DataReceivedEventArgs.cs
- MethodBuilderInstantiation.cs
- ScriptControl.cs
- WebConfigManager.cs
- XmlDomTextWriter.cs
- SynchronizingStream.cs
- BindingList.cs
- WindowsSpinner.cs
- ColumnHeaderConverter.cs
- ClientRuntimeConfig.cs
- NameValueFileSectionHandler.cs