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
- SEHException.cs
- EmptyReadOnlyDictionaryInternal.cs
- TextBox.cs
- RowCache.cs
- MutexSecurity.cs
- XmlLoader.cs
- BaseCodeDomTreeGenerator.cs
- Highlights.cs
- PropertyDescriptor.cs
- AbsoluteQuery.cs
- BitmapFrameDecode.cs
- TextPattern.cs
- Nodes.cs
- MemoryMappedViewAccessor.cs
- InstanceNameConverter.cs
- TreeViewDesigner.cs
- _emptywebproxy.cs
- EdmItemCollection.OcAssemblyCache.cs
- StorageTypeMapping.cs
- SaveFileDialog.cs
- OleDbPermission.cs
- PrivacyNoticeBindingElement.cs
- RenderOptions.cs
- AesCryptoServiceProvider.cs
- Header.cs
- XslTransform.cs
- FontWeightConverter.cs
- ImageListUtils.cs
- CheckBoxPopupAdapter.cs
- CommandBindingCollection.cs
- HatchBrush.cs
- ListBindableAttribute.cs
- WebColorConverter.cs
- ShaperBuffers.cs
- EditBehavior.cs
- CodeRemoveEventStatement.cs
- ChannelBinding.cs
- WindowsListViewGroupHelper.cs
- TypeHelpers.cs
- TokenBasedSet.cs
- SortFieldComparer.cs
- ListenDesigner.cs
- MsmqIntegrationValidationBehavior.cs
- PublisherMembershipCondition.cs
- ContentPlaceHolder.cs
- ToolStripSystemRenderer.cs
- AuthorizationRule.cs
- DrawingVisualDrawingContext.cs
- XsltContext.cs
- dataprotectionpermissionattribute.cs
- TextRunProperties.cs
- FrameworkTextComposition.cs
- CookieParameter.cs
- HandleCollector.cs
- AnnotationHelper.cs
- ServiceHostFactory.cs
- SHA384CryptoServiceProvider.cs
- SimpleType.cs
- BindingValueChangedEventArgs.cs
- ProcessDesigner.cs
- SrgsToken.cs
- SqlServices.cs
- KeyPressEvent.cs
- ToolStripItemRenderEventArgs.cs
- DesignBinding.cs
- DelegatingTypeDescriptionProvider.cs
- ObjectStateEntry.cs
- CollectionChangedEventManager.cs
- EventPropertyMap.cs
- EnumType.cs
- HtmlShimManager.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- MinimizableAttributeTypeConverter.cs
- ControlCollection.cs
- ListControlConvertEventArgs.cs
- SchemaEntity.cs
- SqlWebEventProvider.cs
- TypeEnumerableViewSchema.cs
- HtmlFormWrapper.cs
- TypeConverterAttribute.cs
- DetailsViewUpdateEventArgs.cs
- GlyphRunDrawing.cs
- CodeSubDirectoriesCollection.cs
- Classification.cs
- ClockGroup.cs
- CipherData.cs
- SiteMapHierarchicalDataSourceView.cs
- Style.cs
- UnionExpr.cs
- Number.cs
- ListSourceHelper.cs
- SByteConverter.cs
- LongValidator.cs
- XpsPartBase.cs
- EarlyBoundInfo.cs
- XmlStrings.cs
- BoundPropertyEntry.cs
- _SslStream.cs
- PathSegmentCollection.cs
- ModelItemImpl.cs