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
- RoleManagerModule.cs
- FunctionUpdateCommand.cs
- InternalException.cs
- ResourceContainer.cs
- FieldDescriptor.cs
- mediaclock.cs
- TextDecorationUnitValidation.cs
- XpsImage.cs
- TemplatedAdorner.cs
- StrongNameHelpers.cs
- ModelItemImpl.cs
- OptimalBreakSession.cs
- PointLightBase.cs
- EdmError.cs
- LiteralDesigner.cs
- SoapWriter.cs
- SystemIcmpV6Statistics.cs
- SharedUtils.cs
- InputMethodStateTypeInfo.cs
- ObjectStateEntry.cs
- PrefixHandle.cs
- rsa.cs
- SQLDecimal.cs
- TypeDependencyAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- DocumentPageHost.cs
- AccessDataSourceView.cs
- DesignerWebPartChrome.cs
- FontCollection.cs
- InitializationEventAttribute.cs
- InvokeHandlers.cs
- TreeNodeCollection.cs
- TreeIterator.cs
- RequestResizeEvent.cs
- GPPOINTF.cs
- XmlSchemaAnnotation.cs
- PrinterSettings.cs
- PatternMatcher.cs
- TokenizerHelper.cs
- ContentElement.cs
- FixedHighlight.cs
- TextTreeFixupNode.cs
- BinHexDecoder.cs
- UInt16.cs
- SecureConversationDriver.cs
- _ListenerRequestStream.cs
- DesignerUtility.cs
- MouseGestureValueSerializer.cs
- Stream.cs
- JoinGraph.cs
- CustomError.cs
- Evidence.cs
- LabelAutomationPeer.cs
- HttpFileCollection.cs
- XmlText.cs
- SqlFileStream.cs
- XdrBuilder.cs
- DataGridViewColumn.cs
- ToggleButton.cs
- EndEvent.cs
- _CookieModule.cs
- LongCountAggregationOperator.cs
- SerialReceived.cs
- CapiNative.cs
- OracleFactory.cs
- DynamicPropertyHolder.cs
- EncodingStreamWrapper.cs
- ButtonBaseAutomationPeer.cs
- UpdateDelegates.Generated.cs
- AssertFilter.cs
- WebPartDescription.cs
- HtmlWindowCollection.cs
- NumberSubstitution.cs
- SqlExpressionNullability.cs
- XmlNodeList.cs
- RC2CryptoServiceProvider.cs
- OperatingSystem.cs
- HttpsChannelListener.cs
- CommandLineParser.cs
- ListBindingHelper.cs
- MessageDecoder.cs
- TableItemProviderWrapper.cs
- BindingCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- IntranetCredentialPolicy.cs
- OutputCacheSection.cs
- XXXOnTypeBuilderInstantiation.cs
- Int32Rect.cs
- MenuScrollingVisibilityConverter.cs
- PieceNameHelper.cs
- XmlDataCollection.cs
- ClassDataContract.cs
- Solver.cs
- SHA256.cs
- BaseCodeDomTreeGenerator.cs
- BaseCollection.cs
- TypeUnloadedException.cs
- SmtpReplyReaderFactory.cs
- XmlTextReaderImpl.cs
- SemaphoreFullException.cs