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
- TargetFrameworkAttribute.cs
- WindowsProgressbar.cs
- ObjectDataSourceStatusEventArgs.cs
- Crypto.cs
- RemotingSurrogateSelector.cs
- ErrorProvider.cs
- DataTableMapping.cs
- EventSetter.cs
- ClientTarget.cs
- MarkupCompilePass2.cs
- TCEAdapterGenerator.cs
- CodeSubDirectory.cs
- RedBlackList.cs
- VectorKeyFrameCollection.cs
- WebPartDisplayModeCancelEventArgs.cs
- HttpHostedTransportConfiguration.cs
- PiiTraceSource.cs
- EntityCommandDefinition.cs
- TickBar.cs
- HttpWebRequestElement.cs
- NumericUpDownAccelerationCollection.cs
- XmlSiteMapProvider.cs
- RadialGradientBrush.cs
- WebControlsSection.cs
- DataBindingCollection.cs
- PersonalizationStateQuery.cs
- PlatformCulture.cs
- CharacterMetrics.cs
- XmlUtf8RawTextWriter.cs
- ECDsa.cs
- ContextProperty.cs
- SqlBooleanMismatchVisitor.cs
- UnsafeNativeMethods.cs
- RelationshipSet.cs
- SimpleWebHandlerParser.cs
- ImageConverter.cs
- QilInvoke.cs
- HandleCollector.cs
- Timer.cs
- COM2FontConverter.cs
- OracleFactory.cs
- _Semaphore.cs
- GeometryModel3D.cs
- AttributeParameterInfo.cs
- NameValueFileSectionHandler.cs
- RoleManagerModule.cs
- DataGridViewHeaderCell.cs
- GuidelineSet.cs
- SymbolType.cs
- SystemIcmpV4Statistics.cs
- Keyboard.cs
- Attributes.cs
- MaterializeFromAtom.cs
- OracleParameter.cs
- CodeMethodReturnStatement.cs
- RelatedPropertyManager.cs
- X509CertificateCollection.cs
- _NetRes.cs
- CollectionChangeEventArgs.cs
- DataRecordInternal.cs
- PrincipalPermission.cs
- OdbcInfoMessageEvent.cs
- EditorZone.cs
- DataGridViewButtonCell.cs
- XmlChildNodes.cs
- cookie.cs
- OptimalBreakSession.cs
- Html32TextWriter.cs
- OperationResponse.cs
- IfAction.cs
- WrappedKeySecurityTokenParameters.cs
- MobileFormsAuthentication.cs
- Literal.cs
- ListParaClient.cs
- AspNetHostingPermission.cs
- SetUserLanguageRequest.cs
- TextElement.cs
- ListControl.cs
- LinqDataSourceSelectEventArgs.cs
- Security.cs
- DataGridHelper.cs
- OrderPreservingPipeliningSpoolingTask.cs
- NamespaceDecl.cs
- SHA384Cng.cs
- FixedTextSelectionProcessor.cs
- DesignerSerializationVisibilityAttribute.cs
- SamlSecurityTokenAuthenticator.cs
- WebServiceHostFactory.cs
- WorkflowTransactionService.cs
- DeobfuscatingStream.cs
- VectorAnimationBase.cs
- EnumBuilder.cs
- GlyphCollection.cs
- EndpointReference.cs
- PropertyPathConverter.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Size.cs
- JapaneseLunisolarCalendar.cs
- PixelShader.cs
- MessageQueueInstaller.cs