Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XmlSchemaValidator.cs
- FileLogRecord.cs
- DataGridViewRow.cs
- IndicShape.cs
- DefaultAsyncDataDispatcher.cs
- MethodBuilder.cs
- ConnectionConsumerAttribute.cs
- DecoderBestFitFallback.cs
- XmlElementCollection.cs
- SecurityDocument.cs
- HttpConfigurationContext.cs
- VersionedStream.cs
- FillRuleValidation.cs
- ConsoleTraceListener.cs
- CroppedBitmap.cs
- EntityDataSourceDataSelectionPanel.cs
- EnumerableRowCollectionExtensions.cs
- DocumentGrid.cs
- LogicalExpr.cs
- XmlSchemaGroupRef.cs
- ChangeTracker.cs
- Tuple.cs
- ProcessInfo.cs
- SchemaImporter.cs
- XmlAttributeOverrides.cs
- cookie.cs
- Debug.cs
- IDispatchConstantAttribute.cs
- XPathPatternParser.cs
- PropertyOverridesTypeEditor.cs
- DataGridBoolColumn.cs
- CodePrimitiveExpression.cs
- UriScheme.cs
- SetIterators.cs
- Win32Exception.cs
- DBDataPermission.cs
- ToolStripDropDownMenu.cs
- IgnorePropertiesAttribute.cs
- PrintingPermission.cs
- HeaderElement.cs
- KerberosSecurityTokenParameters.cs
- HttpRequestMessageProperty.cs
- GCHandleCookieTable.cs
- COSERVERINFO.cs
- SqlDelegatedTransaction.cs
- FormatterConverter.cs
- ToolStripDropDown.cs
- MaterialCollection.cs
- TextTreePropertyUndoUnit.cs
- RangeValuePatternIdentifiers.cs
- GridViewUpdatedEventArgs.cs
- CollaborationHelperFunctions.cs
- NonBatchDirectoryCompiler.cs
- NameNode.cs
- SpeechEvent.cs
- EntityDataSourceChangedEventArgs.cs
- Scheduler.cs
- _LoggingObject.cs
- OdbcDataReader.cs
- FrameDimension.cs
- RuntimeResourceSet.cs
- ListBindingHelper.cs
- DSASignatureDeformatter.cs
- BamlBinaryReader.cs
- MetaChildrenColumn.cs
- DiagnosticEventProvider.cs
- BindingCollection.cs
- MD5.cs
- AuthenticatingEventArgs.cs
- Update.cs
- EventManager.cs
- VisualBrush.cs
- Collection.cs
- FilteredAttributeCollection.cs
- RegionIterator.cs
- Documentation.cs
- SearchForVirtualItemEventArgs.cs
- LinearGradientBrush.cs
- NativeMethods.cs
- EnumConverter.cs
- ScrollContentPresenter.cs
- Certificate.cs
- BrowsableAttribute.cs
- UrlRoutingHandler.cs
- TextParagraphView.cs
- FlowPanelDesigner.cs
- DataGridAddNewRow.cs
- FocusWithinProperty.cs
- SqlProviderManifest.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- HwndKeyboardInputProvider.cs
- BorderGapMaskConverter.cs
- ResourceDisplayNameAttribute.cs
- HtmlInputRadioButton.cs
- DynamicPropertyHolder.cs
- COM2ColorConverter.cs
- Queue.cs
- EventArgs.cs
- GridViewRowPresenterBase.cs
- DesignerView.cs