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
- ByteAnimationUsingKeyFrames.cs
- SequenceFullException.cs
- WebPartConnectionsCancelVerb.cs
- TraceFilter.cs
- ProxyWebPartManager.cs
- recordstate.cs
- ArglessEventHandlerProxy.cs
- ReflectionPermission.cs
- GlyphRunDrawing.cs
- RegexFCD.cs
- EntityContainerRelationshipSet.cs
- DataGridViewLinkCell.cs
- XamlInt32CollectionSerializer.cs
- WindowProviderWrapper.cs
- TraceContext.cs
- HttpPostedFile.cs
- CommonDialog.cs
- SwitchCase.cs
- HttpVersion.cs
- XhtmlBasicLinkAdapter.cs
- AuthorizationRule.cs
- MulticastIPAddressInformationCollection.cs
- CustomError.cs
- BamlVersionHeader.cs
- InkCanvas.cs
- KnownTypesProvider.cs
- SqlClientWrapperSmiStreamChars.cs
- JsonUriDataContract.cs
- XPathSelfQuery.cs
- CodeArrayCreateExpression.cs
- DispatchProxy.cs
- Latin1Encoding.cs
- ItemCollectionEditor.cs
- NativeMethods.cs
- TableRow.cs
- LocationSectionRecord.cs
- ContentType.cs
- PathGeometry.cs
- CancellableEnumerable.cs
- ToolboxDataAttribute.cs
- Parser.cs
- JournalEntry.cs
- MultipartContentParser.cs
- DiscardableAttribute.cs
- XamlPoint3DCollectionSerializer.cs
- MatrixCamera.cs
- PerspectiveCamera.cs
- GroupQuery.cs
- Int32Converter.cs
- KerberosSecurityTokenProvider.cs
- IdnMapping.cs
- CallbackHandler.cs
- XmlAnyAttributeAttribute.cs
- SkewTransform.cs
- BrowserCapabilitiesFactoryBase.cs
- CodeDomDecompiler.cs
- ProcessHost.cs
- LinearKeyFrames.cs
- WhileDesigner.xaml.cs
- XmlNullResolver.cs
- SelectionRange.cs
- SQLInt16Storage.cs
- ProviderSettings.cs
- LogReserveAndAppendState.cs
- basenumberconverter.cs
- ReadOnlyPropertyMetadata.cs
- Setter.cs
- OrthographicCamera.cs
- BinaryCommonClasses.cs
- IdentityModelStringsVersion1.cs
- TimeIntervalCollection.cs
- LineVisual.cs
- Style.cs
- MetadataPropertyvalue.cs
- WindowsContainer.cs
- TaskFactory.cs
- NegatedConstant.cs
- AddToCollection.cs
- XmlValidatingReader.cs
- ForeignKeyConstraint.cs
- EventHandlingScope.cs
- HostingEnvironmentWrapper.cs
- CodeBlockBuilder.cs
- SecurityUniqueId.cs
- OdbcConnection.cs
- ToolBarOverflowPanel.cs
- InsufficientMemoryException.cs
- Pkcs7Signer.cs
- TextBox.cs
- KeyToListMap.cs
- ReadOnlyCollectionBase.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- PageAction.cs
- DecimalAnimation.cs
- WCFModelStrings.Designer.cs
- ProtocolsConfiguration.cs
- WebRequest.cs
- DesignerListAdapter.cs
- HttpRawResponse.cs
- StreamUpgradeBindingElement.cs