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
- ColumnClickEvent.cs
- ForeignKeyFactory.cs
- UInt32.cs
- RuntimeWrappedException.cs
- MeshGeometry3D.cs
- UnmanagedBitmapWrapper.cs
- XmlSchemaProviderAttribute.cs
- CodeIdentifier.cs
- TransactionTable.cs
- PerformanceCountersBase.cs
- UserControlDesigner.cs
- WebPart.cs
- DirectoryInfo.cs
- SizeAnimation.cs
- ListViewEditEventArgs.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SafeHandle.cs
- TypeNameConverter.cs
- ResourceManager.cs
- Grid.cs
- Metafile.cs
- QilTypeChecker.cs
- XPathNodeHelper.cs
- WorkflowRuntimeElement.cs
- ByteStorage.cs
- SelectingProviderEventArgs.cs
- ConsoleCancelEventArgs.cs
- CodeComment.cs
- ActiveDocumentEvent.cs
- HighContrastHelper.cs
- ActivityXRefConverter.cs
- Helpers.cs
- ServiceOperation.cs
- AttributeProviderAttribute.cs
- RegexReplacement.cs
- DesignerTransactionCloseEvent.cs
- HttpClientCertificate.cs
- TextAction.cs
- DoubleCollectionConverter.cs
- TemplatePagerField.cs
- MonthCalendar.cs
- ViewStateException.cs
- BufferAllocator.cs
- CLSCompliantAttribute.cs
- TemplateControlBuildProvider.cs
- BindStream.cs
- DrawingImage.cs
- SchemaElementLookUpTable.cs
- StoreAnnotationsMap.cs
- _FixedSizeReader.cs
- SoapObjectReader.cs
- DesignerDataTableBase.cs
- NamedPermissionSet.cs
- XmlSchemaIdentityConstraint.cs
- PersianCalendar.cs
- MimeMapping.cs
- ConfigurationStrings.cs
- ObjectReferenceStack.cs
- WindowsListViewSubItem.cs
- ImageField.cs
- ApplicationSecurityManager.cs
- GridViewColumnCollectionChangedEventArgs.cs
- XamlFilter.cs
- CompatibleComparer.cs
- Ref.cs
- WSMessageEncoding.cs
- WebPartEditVerb.cs
- SqlNamer.cs
- HtmlEncodedRawTextWriter.cs
- SessionEndingEventArgs.cs
- InternalsVisibleToAttribute.cs
- ParameterCollection.cs
- ZoomComboBox.cs
- NameService.cs
- PostBackOptions.cs
- DataGridViewDataConnection.cs
- PersonalizableAttribute.cs
- MostlySingletonList.cs
- Graph.cs
- LogExtentCollection.cs
- MediaContext.cs
- SqlCacheDependency.cs
- CursorInteropHelper.cs
- RegularExpressionValidator.cs
- DragEvent.cs
- WebBrowserBase.cs
- FloaterParaClient.cs
- ControlBuilder.cs
- Catch.cs
- TemplateControlCodeDomTreeGenerator.cs
- ConfigXmlWhitespace.cs
- KeyInfo.cs
- RegularExpressionValidator.cs
- RequestNavigateEventArgs.cs
- ConsoleTraceListener.cs
- DragEvent.cs
- DbDataRecord.cs
- FileDialog.cs
- ContainerFilterService.cs
- RegexCapture.cs