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
- DataListComponentEditor.cs
- DesignerActionService.cs
- Translator.cs
- Task.cs
- ObjRef.cs
- WmlFormAdapter.cs
- MaskedTextProvider.cs
- DecimalAnimationUsingKeyFrames.cs
- AssemblyAssociatedContentFileAttribute.cs
- InputBinding.cs
- PowerModeChangedEventArgs.cs
- StyleXamlTreeBuilder.cs
- DashStyle.cs
- FrameAutomationPeer.cs
- WindowsAuthenticationModule.cs
- QuotaThrottle.cs
- Select.cs
- GridView.cs
- SQLBinaryStorage.cs
- ContextMarshalException.cs
- RectangleHotSpot.cs
- DefaultAssemblyResolver.cs
- AsyncWaitHandle.cs
- InfoCardTraceRecord.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- DoubleKeyFrameCollection.cs
- SqlUnionizer.cs
- KnownBoxes.cs
- SerializableAttribute.cs
- Stack.cs
- CounterCreationDataCollection.cs
- TextBoxAutoCompleteSourceConverter.cs
- HttpSocketManager.cs
- StandardCommands.cs
- QilList.cs
- AsymmetricKeyExchangeDeformatter.cs
- MarkupExtensionParser.cs
- ManagementScope.cs
- ExtensionFile.cs
- XamlHostingConfiguration.cs
- TextViewBase.cs
- Addressing.cs
- Main.cs
- LookupBindingPropertiesAttribute.cs
- KnowledgeBase.cs
- SqlDataReaderSmi.cs
- HttpRequestWrapper.cs
- TextEditorThreadLocalStore.cs
- SqlUserDefinedAggregateAttribute.cs
- StorageRoot.cs
- TrackingQueryElement.cs
- RequestCachePolicy.cs
- PrintingPermissionAttribute.cs
- SQLDateTime.cs
- PromptStyle.cs
- DataSourceConverter.cs
- FixedHighlight.cs
- SafeNativeMethods.cs
- RepeaterItemEventArgs.cs
- DataStorage.cs
- TypeBrowser.xaml.cs
- MediaSystem.cs
- StylusPointPropertyInfo.cs
- SmtpReplyReader.cs
- InvalidProgramException.cs
- ListViewSortEventArgs.cs
- ResourceExpressionBuilder.cs
- ByteRangeDownloader.cs
- ScopelessEnumAttribute.cs
- Deflater.cs
- SqlVersion.cs
- XmlSchemaResource.cs
- SQLSingleStorage.cs
- ButtonAutomationPeer.cs
- DrawingGroup.cs
- BuildProvider.cs
- DesignerVerb.cs
- SqlSupersetValidator.cs
- Codec.cs
- NonParentingControl.cs
- RuntimeTrackingProfile.cs
- ASCIIEncoding.cs
- SchemaInfo.cs
- documentsequencetextpointer.cs
- LoadMessageLogger.cs
- SplineKeyFrames.cs
- TypeProvider.cs
- Ray3DHitTestResult.cs
- AmbientValueAttribute.cs
- DateTimeUtil.cs
- SizeAnimationClockResource.cs
- TypeReference.cs
- XmlChoiceIdentifierAttribute.cs
- ModelTreeEnumerator.cs
- TableCellCollection.cs
- FixedSOMTableCell.cs
- Panel.cs
- ReferenceEqualityComparer.cs
- SharedHttpsTransportManager.cs
- Function.cs