Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- RemoteWebConfigurationHostServer.cs
- ApplicationManager.cs
- BamlMapTable.cs
- WebBrowser.cs
- FrameSecurityDescriptor.cs
- ColorDialog.cs
- RealizationDrawingContextWalker.cs
- ConfigXmlReader.cs
- SynchronizedDispatch.cs
- AdPostCacheSubstitution.cs
- Registry.cs
- PersistChildrenAttribute.cs
- TextFormatterImp.cs
- CloudCollection.cs
- NetworkCredential.cs
- MailWebEventProvider.cs
- SafeCertificateStore.cs
- XmlCodeExporter.cs
- ReferencedCollectionType.cs
- TimeSpanValidator.cs
- TextEditorContextMenu.cs
- AncestorChangedEventArgs.cs
- LicenseManager.cs
- KeysConverter.cs
- wgx_sdk_version.cs
- SingleResultAttribute.cs
- ErrorHandler.cs
- CompositeFontFamily.cs
- dsa.cs
- SpinLock.cs
- NavigatorInput.cs
- TripleDES.cs
- CollectionViewGroup.cs
- MsmqIntegrationSecurityMode.cs
- DataSourceControlBuilder.cs
- KnownBoxes.cs
- Int32Rect.cs
- XmlEntity.cs
- AuthenticationModuleElement.cs
- ETagAttribute.cs
- MergeEnumerator.cs
- TextParentUndoUnit.cs
- CreateUserWizardDesigner.cs
- HandleCollector.cs
- NativeMethodsCLR.cs
- NativeWindow.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- ContentValidator.cs
- ModelVisual3D.cs
- DelegatingTypeDescriptionProvider.cs
- Thickness.cs
- AssemblyLoader.cs
- SafeFreeMibTable.cs
- FrameworkPropertyMetadata.cs
- OpenFileDialog.cs
- COMException.cs
- EntityCommand.cs
- VBCodeProvider.cs
- SupportsEventValidationAttribute.cs
- XmlDataLoader.cs
- GridViewSelectEventArgs.cs
- ServiceHostFactory.cs
- ConnectionDemuxer.cs
- ViewEvent.cs
- Slider.cs
- BitConverter.cs
- DataConnectionHelper.cs
- XsltSettings.cs
- AssemblyInfo.cs
- PropertyNames.cs
- RoleServiceManager.cs
- PathFigure.cs
- SchemaMerger.cs
- HashHelper.cs
- PipelineModuleStepContainer.cs
- SystemInfo.cs
- CharEnumerator.cs
- indexingfiltermarshaler.cs
- XamlPointCollectionSerializer.cs
- CompositeScriptReferenceEventArgs.cs
- DesignerOptions.cs
- CharacterString.cs
- Int16Animation.cs
- ManipulationLogic.cs
- ArgumentException.cs
- DbProviderManifest.cs
- CodeBinaryOperatorExpression.cs
- SqlDataSourceView.cs
- TraceLog.cs
- TrackingProfileCache.cs
- CodeNamespaceImportCollection.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- RuntimeConfig.cs
- SiteMapProvider.cs
- XmlnsCompatibleWithAttribute.cs
- PrinterUnitConvert.cs
- Material.cs
- CellTreeNodeVisitors.cs
- DynamicValueConverter.cs
- FormsAuthenticationConfiguration.cs