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
- Formatter.cs
- BaseTreeIterator.cs
- TreeNodeStyleCollection.cs
- BevelBitmapEffect.cs
- Completion.cs
- OperationAbortedException.cs
- DisplayClaim.cs
- DeferredSelectedIndexReference.cs
- BinaryReader.cs
- SQLString.cs
- ThaiBuddhistCalendar.cs
- ReflectionUtil.cs
- ResXBuildProvider.cs
- ScriptResourceAttribute.cs
- AnimationException.cs
- HtmlTableRow.cs
- XmlSchemaFacet.cs
- ResponseStream.cs
- XamlToRtfWriter.cs
- SqlWriter.cs
- MachineSettingsSection.cs
- DoubleUtil.cs
- FormsAuthenticationConfiguration.cs
- Bitmap.cs
- OpCellTreeNode.cs
- XmlSiteMapProvider.cs
- LessThanOrEqual.cs
- Gdiplus.cs
- PageRanges.cs
- ValueTable.cs
- TextEffect.cs
- InvalidProgramException.cs
- QuaternionAnimation.cs
- XamlInt32CollectionSerializer.cs
- TextDpi.cs
- WorkflowFileItem.cs
- CachedFontFace.cs
- ExtendLockCommand.cs
- QilLiteral.cs
- NonVisualControlAttribute.cs
- UserControlAutomationPeer.cs
- TaskbarItemInfo.cs
- DependencyPropertyDescriptor.cs
- SearchForVirtualItemEventArgs.cs
- GridViewUpdateEventArgs.cs
- SafeViewOfFileHandle.cs
- FileDataSourceCache.cs
- ExtensibleClassFactory.cs
- HostVisual.cs
- DataTableTypeConverter.cs
- ObjectListComponentEditor.cs
- _BasicClient.cs
- WinCategoryAttribute.cs
- ConfigurationErrorsException.cs
- WebScriptMetadataMessageEncoderFactory.cs
- XmlAtomicValue.cs
- DataServiceContext.cs
- UnsafeNativeMethods.cs
- DocumentApplication.cs
- WebPartCancelEventArgs.cs
- WindowsListViewItemStartMenu.cs
- MDIControlStrip.cs
- DoubleLinkListEnumerator.cs
- UserPreferenceChangedEventArgs.cs
- ClonableStack.cs
- CellNormalizer.cs
- TextServicesCompartmentEventSink.cs
- SchemaElementLookUpTable.cs
- ToolStripSeparator.cs
- XmlAnyElementAttributes.cs
- AudioSignalProblemOccurredEventArgs.cs
- WebResourceUtil.cs
- iisPickupDirectory.cs
- HttpConfigurationContext.cs
- Model3D.cs
- RangeContentEnumerator.cs
- SQLInt32Storage.cs
- PathSegmentCollection.cs
- IpcServerChannel.cs
- UTF32Encoding.cs
- NotImplementedException.cs
- TrustLevelCollection.cs
- SafeRightsManagementQueryHandle.cs
- DataSourceConverter.cs
- RubberbandSelector.cs
- TrackingStringDictionary.cs
- TableAdapterManagerHelper.cs
- ComponentChangingEvent.cs
- BamlRecordHelper.cs
- LoginDesigner.cs
- MdImport.cs
- InstallerTypeAttribute.cs
- contentDescriptor.cs
- AttributeCollection.cs
- HWStack.cs
- CommonObjectSecurity.cs
- wgx_exports.cs
- CodeCompiler.cs
- DateTimeConverter.cs
- DragDeltaEventArgs.cs