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 / LinearQuaternionKeyFrame.cs / 1 / LinearQuaternionKeyFrame.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 LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- CubicEase.cs
- OutOfMemoryException.cs
- StreamWriter.cs
- WebSysDescriptionAttribute.cs
- BuilderPropertyEntry.cs
- SqlWorkflowPersistenceService.cs
- UserControl.cs
- GraphicsContainer.cs
- FixedTextView.cs
- Pointer.cs
- ImageDrawing.cs
- MatrixUtil.cs
- MutexSecurity.cs
- InvalidFilterCriteriaException.cs
- ComplexBindingPropertiesAttribute.cs
- QueryCacheEntry.cs
- HtmlInputButton.cs
- NamespaceQuery.cs
- CacheMode.cs
- UrlPath.cs
- PointConverter.cs
- TimeSpanValidator.cs
- HttpClientChannel.cs
- Debugger.cs
- IgnoreSectionHandler.cs
- DiagnosticsConfiguration.cs
- ControlCollection.cs
- SQLUtility.cs
- NotCondition.cs
- ComplexTypeEmitter.cs
- WebZone.cs
- KeyToListMap.cs
- WinCategoryAttribute.cs
- TypeSystem.cs
- _AutoWebProxyScriptWrapper.cs
- TextDecorationCollection.cs
- BuildProvidersCompiler.cs
- UserPersonalizationStateInfo.cs
- CopyEncoder.cs
- SiteMap.cs
- InvalidDataException.cs
- IntSecurity.cs
- TraceContextEventArgs.cs
- ConsumerConnectionPointCollection.cs
- clipboard.cs
- WrappedKeySecurityToken.cs
- StrokeNode.cs
- TypeSemantics.cs
- ObjectDataSourceStatusEventArgs.cs
- ObjectDataSourceFilteringEventArgs.cs
- MappedMetaModel.cs
- ValueQuery.cs
- PointAnimationBase.cs
- SingleStorage.cs
- ManipulationDevice.cs
- NullableConverter.cs
- TypeUtils.cs
- SaveFileDialog.cs
- SR.cs
- SourceItem.cs
- MenuItemCollectionEditorDialog.cs
- CardSpaceException.cs
- DetailsViewRow.cs
- InstancePersistence.cs
- entityreference_tresulttype.cs
- JsonFormatMapping.cs
- CalendarSelectionChangedEventArgs.cs
- SqlUtils.cs
- Dump.cs
- DocumentOrderQuery.cs
- ReferenceEqualityComparer.cs
- NgenServicingAttributes.cs
- SqlCacheDependencySection.cs
- WindowsMenu.cs
- HostingPreferredMapPath.cs
- Menu.cs
- EventSource.cs
- WebPartActionVerb.cs
- BitmapPalette.cs
- IndexerNameAttribute.cs
- TextHidden.cs
- DecimalKeyFrameCollection.cs
- DependencyObjectType.cs
- CustomCategoryAttribute.cs
- embossbitmapeffect.cs
- IgnoreSection.cs
- AtomContentProperty.cs
- EventProxy.cs
- ScaleTransform.cs
- FixedSchema.cs
- AddingNewEventArgs.cs
- SelectionPattern.cs
- GenerateScriptTypeAttribute.cs
- UnaryExpressionHelper.cs
- ProfileInfo.cs
- XamlPathDataSerializer.cs
- RequiredFieldValidator.cs
- FSWPathEditor.cs
- DataFormats.cs
- ObjectConverter.cs