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 / LinearQuaternionKeyFrame.cs / 1 / 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
- CompilerState.cs
- SqlCommand.cs
- CodeSubDirectory.cs
- DocumentViewerAutomationPeer.cs
- Win32Native.cs
- EventSetter.cs
- DeleteCardRequest.cs
- ErrorHandlerModule.cs
- ScopelessEnumAttribute.cs
- DataList.cs
- TaskResultSetter.cs
- KeyValuePairs.cs
- Rules.cs
- FrameSecurityDescriptor.cs
- ErrorRuntimeConfig.cs
- SystemInformation.cs
- InfoCardCryptoHelper.cs
- WebBrowserNavigatingEventHandler.cs
- ErrorLog.cs
- MatrixStack.cs
- WebPartCatalogAddVerb.cs
- HotSpotCollectionEditor.cs
- QuaternionKeyFrameCollection.cs
- PropertyMetadata.cs
- COM2ExtendedBrowsingHandler.cs
- CrossSiteScriptingValidation.cs
- SecurityCriticalDataForSet.cs
- Scheduler.cs
- HttpException.cs
- Translator.cs
- ScriptRegistrationManager.cs
- Wrapper.cs
- safesecurityhelperavalon.cs
- SqlUtil.cs
- ProjectionCamera.cs
- PreviousTrackingServiceAttribute.cs
- DesignerSerializerAttribute.cs
- AsyncCodeActivity.cs
- MembershipPasswordException.cs
- TaskFileService.cs
- CompareValidator.cs
- XmlSchemaSet.cs
- BinaryNode.cs
- SafeNativeMethodsOther.cs
- SequenceQuery.cs
- EnumMember.cs
- MostlySingletonList.cs
- ArgumentDesigner.xaml.cs
- FlowDocumentPageViewerAutomationPeer.cs
- BasicCellRelation.cs
- CompileXomlTask.cs
- QueryOptionExpression.cs
- BindingOperations.cs
- DataTemplate.cs
- TableSectionStyle.cs
- GregorianCalendar.cs
- FutureFactory.cs
- XmlMemberMapping.cs
- LocatorBase.cs
- XmlDigitalSignatureProcessor.cs
- Parameter.cs
- Int32Converter.cs
- DropShadowBitmapEffect.cs
- SoapAttributeOverrides.cs
- TagPrefixAttribute.cs
- XslAstAnalyzer.cs
- ButtonChrome.cs
- TypeConverters.cs
- XmlSchemaIdentityConstraint.cs
- ConfigDefinitionUpdates.cs
- BezierSegment.cs
- DataGridViewControlCollection.cs
- TileBrush.cs
- PropertyChangeTracker.cs
- InkCanvasSelection.cs
- StandardBindingElementCollection.cs
- GenerateScriptTypeAttribute.cs
- SiteMap.cs
- MultipleViewPattern.cs
- UnmanagedHandle.cs
- MailMessage.cs
- Style.cs
- NotSupportedException.cs
- MatrixAnimationBase.cs
- SmiTypedGetterSetter.cs
- QueryConverter.cs
- ScriptReference.cs
- IFlowDocumentViewer.cs
- SevenBitStream.cs
- XmlSchemaInferenceException.cs
- RuleInfoComparer.cs
- BufferedReadStream.cs
- TableStyle.cs
- DataGridViewCellStyle.cs
- CursorConverter.cs
- SecurityKeyUsage.cs
- CollectionsUtil.cs
- ColorConvertedBitmap.cs
- TablePattern.cs
- AssociationTypeEmitter.cs