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
- TextTreeRootNode.cs
- XmlDesignerDataSourceView.cs
- AnimationLayer.cs
- __ComObject.cs
- GridView.cs
- CodeTypeReferenceExpression.cs
- CutCopyPasteHelper.cs
- WebBrowserSiteBase.cs
- LineInfo.cs
- ValidatingReaderNodeData.cs
- XamlWriter.cs
- Barrier.cs
- TranslateTransform3D.cs
- PowerStatus.cs
- sqlnorm.cs
- XmlSchemaType.cs
- RawStylusInput.cs
- Compilation.cs
- CharAnimationUsingKeyFrames.cs
- ExpandCollapseProviderWrapper.cs
- DynamicDiscoSearcher.cs
- RadialGradientBrush.cs
- XpsDocumentEvent.cs
- PolicyUnit.cs
- ConnectionPoint.cs
- PageStatePersister.cs
- Expander.cs
- RelationshipEndMember.cs
- ThemeDirectoryCompiler.cs
- HttpResponseHeader.cs
- DashStyle.cs
- DesignerCalendarAdapter.cs
- WebServiceMethodData.cs
- DrawingContextDrawingContextWalker.cs
- GrammarBuilderBase.cs
- DateTimeConverter.cs
- XmlChoiceIdentifierAttribute.cs
- RepeaterItemEventArgs.cs
- FilterQuery.cs
- AspNetPartialTrustHelpers.cs
- BaseDataBoundControlDesigner.cs
- SuppressIldasmAttribute.cs
- StrokeCollection2.cs
- AutoGeneratedFieldProperties.cs
- WebControlParameterProxy.cs
- MonitoringDescriptionAttribute.cs
- NotConverter.cs
- DetailsViewCommandEventArgs.cs
- SslStream.cs
- QuaternionRotation3D.cs
- UniqueSet.cs
- XmlBufferReader.cs
- CqlBlock.cs
- DragStartedEventArgs.cs
- ObjectComplexPropertyMapping.cs
- FixedSOMTextRun.cs
- ItemsPresenter.cs
- DeploymentSection.cs
- SchemaImporterExtension.cs
- DesignerImageAdapter.cs
- DataServiceExpressionVisitor.cs
- DropDownList.cs
- AlphabetConverter.cs
- Block.cs
- EncryptedType.cs
- CaseInsensitiveComparer.cs
- XPathDocumentIterator.cs
- Viewport3DAutomationPeer.cs
- AspNetRouteServiceHttpHandler.cs
- NodeInfo.cs
- ObjectListCommandsPage.cs
- embossbitmapeffect.cs
- NameValuePermission.cs
- DataGridViewCellEventArgs.cs
- ProcessProtocolHandler.cs
- RichTextBoxConstants.cs
- HandlerFactoryWrapper.cs
- TextBounds.cs
- Duration.cs
- SymmetricCryptoHandle.cs
- DispatcherExceptionEventArgs.cs
- Volatile.cs
- PropertyMetadata.cs
- StateManagedCollection.cs
- LinqDataSource.cs
- NavigationEventArgs.cs
- ReliableDuplexSessionChannel.cs
- TableLayout.cs
- ShapeTypeface.cs
- TableLayout.cs
- XmlDsigSep2000.cs
- TemplateField.cs
- CompilerGlobalScopeAttribute.cs
- TokenBasedSetEnumerator.cs
- Authorization.cs
- DbProviderServices.cs
- ReferenceEqualityComparer.cs
- GenericWebPart.cs
- CompiledAction.cs
- RichTextBox.cs