Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Menu.cs
- EncoderParameter.cs
- XmlSignatureManifest.cs
- CommandLineParser.cs
- PowerStatus.cs
- BufferedWebEventProvider.cs
- Win32.cs
- TimersDescriptionAttribute.cs
- ContextMenuStripActionList.cs
- DataGridCaption.cs
- RawStylusSystemGestureInputReport.cs
- NonVisualControlAttribute.cs
- HttpCookie.cs
- RootCodeDomSerializer.cs
- MemoryMappedViewAccessor.cs
- SafeHandle.cs
- DataRecord.cs
- TableLayoutPanelResizeGlyph.cs
- PageClientProxyGenerator.cs
- XmlDocumentFragment.cs
- HuffModule.cs
- MenuItem.cs
- ConditionalExpression.cs
- StandardOleMarshalObject.cs
- DomainUpDown.cs
- XmlChoiceIdentifierAttribute.cs
- X509CertificateCollection.cs
- TransformationRules.cs
- MailFileEditor.cs
- SiteMembershipCondition.cs
- ToolStripGrip.cs
- QilStrConcatenator.cs
- CommonDialog.cs
- DefaultExpressionVisitor.cs
- SecurityContext.cs
- XPathNodeHelper.cs
- RuntimeConfigurationRecord.cs
- RectConverter.cs
- SwitchLevelAttribute.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ModelService.cs
- HuffmanTree.cs
- AuthorizationRule.cs
- ProgramPublisher.cs
- TransformDescriptor.cs
- TransportSecurityBindingElement.cs
- CryptoStream.cs
- ContainerUIElement3D.cs
- WebHttpDispatchOperationSelectorData.cs
- PolicyLevel.cs
- PartBasedPackageProperties.cs
- TextEditorMouse.cs
- MetadataCache.cs
- HttpBufferlessInputStream.cs
- SHA384.cs
- BlurEffect.cs
- PinnedBufferMemoryStream.cs
- ContractListAdapter.cs
- ValueTypeFixupInfo.cs
- SqlCacheDependencyDatabase.cs
- MenuItemBindingCollection.cs
- StreamGeometry.cs
- Expressions.cs
- InkCanvasSelection.cs
- OuterGlowBitmapEffect.cs
- Expander.cs
- Math.cs
- SqlServices.cs
- FixedDocumentSequencePaginator.cs
- DrawingVisual.cs
- RequestNavigateEventArgs.cs
- TextProviderWrapper.cs
- TreeWalker.cs
- TextSelection.cs
- HMAC.cs
- SqlDependencyListener.cs
- PeerNodeAddress.cs
- FileInfo.cs
- SharedDp.cs
- DbProviderFactories.cs
- CodeGenHelper.cs
- DateTimeSerializationSection.cs
- InfiniteIntConverter.cs
- WindowsListViewItemCheckBox.cs
- WizardForm.cs
- StorageEntityContainerMapping.cs
- PackUriHelper.cs
- RelatedPropertyManager.cs
- IssuanceLicense.cs
- StrongName.cs
- GenericXmlSecurityToken.cs
- Slider.cs
- Atom10FormatterFactory.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- CodeGotoStatement.cs
- TextServicesProperty.cs
- XmlSchemaSimpleTypeUnion.cs
- SqlReferenceCollection.cs
- CodeCommentStatement.cs
- SqlMethodCallConverter.cs