Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1305600 / 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
- InputQueue.cs
- DataTableClearEvent.cs
- DataMisalignedException.cs
- BamlLocalizer.cs
- AVElementHelper.cs
- HWStack.cs
- SystemResourceKey.cs
- AQNBuilder.cs
- WindowsFormsDesignerOptionService.cs
- SqlColumnizer.cs
- SQLInt32.cs
- TextDecorationLocationValidation.cs
- GenerateScriptTypeAttribute.cs
- EntityWithChangeTrackerStrategy.cs
- EntityDesignerDataSourceView.cs
- RectangleHotSpot.cs
- ExponentialEase.cs
- TaskHelper.cs
- OneWayBindingElement.cs
- TextServicesCompartmentContext.cs
- CellLabel.cs
- SoapExtensionStream.cs
- MouseBinding.cs
- QuotaExceededException.cs
- TabControlEvent.cs
- Style.cs
- Quad.cs
- EntityViewGenerator.cs
- FixedSOMPageConstructor.cs
- TabletCollection.cs
- ServiceManager.cs
- DropShadowBitmapEffect.cs
- SerializationException.cs
- CodeSubDirectoriesCollection.cs
- TypeDescriptionProvider.cs
- WebControlsSection.cs
- MsiStyleLogWriter.cs
- ProxyGenerationError.cs
- AssociationSetMetadata.cs
- BuildProvider.cs
- VirtualPathUtility.cs
- BrowserCapabilitiesFactory.cs
- FieldNameLookup.cs
- CapabilitiesState.cs
- TreeView.cs
- SplayTreeNode.cs
- TextWriterTraceListener.cs
- XmlDataSource.cs
- DatePickerTextBox.cs
- CustomCategoryAttribute.cs
- NonBatchDirectoryCompiler.cs
- LinkLabel.cs
- TextInfo.cs
- AuthenticationConfig.cs
- EmptyQuery.cs
- ScrollContentPresenter.cs
- Attributes.cs
- ValidationSettings.cs
- RuntimeVariablesExpression.cs
- DefaultHttpHandler.cs
- CompareInfo.cs
- NullRuntimeConfig.cs
- QuaternionKeyFrameCollection.cs
- LabelInfo.cs
- CSharpCodeProvider.cs
- WorkflowExecutor.cs
- BufferedWebEventProvider.cs
- HttpProfileGroupBase.cs
- ZoneLinkButton.cs
- TimelineClockCollection.cs
- smtpconnection.cs
- MouseActionValueSerializer.cs
- MdImport.cs
- FrameAutomationPeer.cs
- DataGridViewLinkCell.cs
- DrawingBrush.cs
- RsaSecurityTokenParameters.cs
- DrawingAttributesDefaultValueFactory.cs
- FileUpload.cs
- TextElement.cs
- ValidatingReaderNodeData.cs
- ServiceInstanceProvider.cs
- UnsafeNativeMethods.cs
- ControlCachePolicy.cs
- InitializationEventAttribute.cs
- PublisherIdentityPermission.cs
- ParamArrayAttribute.cs
- BatchParser.cs
- LocalClientSecuritySettingsElement.cs
- DataKeyArray.cs
- EntitySet.cs
- Substitution.cs
- MethodImplAttribute.cs
- ActivationServices.cs
- XmlSchemaGroup.cs
- MsdtcWrapper.cs
- UInt32Storage.cs
- AppDomainFactory.cs
- ContainerParaClient.cs
- PostBackOptions.cs