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
- MimeMapping.cs
- WebPartTransformer.cs
- ToolStripRenderer.cs
- TreeNodeStyle.cs
- SelectManyQueryOperator.cs
- parserscommon.cs
- StrongName.cs
- ContractType.cs
- SHA1Managed.cs
- DataGridViewComboBoxEditingControl.cs
- Cursors.cs
- ButtonBase.cs
- MetafileEditor.cs
- IssuedSecurityTokenParameters.cs
- Size.cs
- ActivityDesigner.cs
- SemanticResultKey.cs
- AssemblyInfo.cs
- RunClient.cs
- SqlRowUpdatedEvent.cs
- InputGestureCollection.cs
- WrappedIUnknown.cs
- XmlAttributeCollection.cs
- ConfigurationStrings.cs
- PingReply.cs
- HMACSHA512.cs
- UpdatePanel.cs
- EntityDesignerDataSourceView.cs
- TimeSpanSecondsConverter.cs
- CaseExpr.cs
- ScaleTransform.cs
- CompilerState.cs
- SpecialFolderEnumConverter.cs
- InputElement.cs
- CompatibleComparer.cs
- SiteMapNode.cs
- ErrorRuntimeConfig.cs
- ForwardPositionQuery.cs
- MenuItemCollection.cs
- UnionCodeGroup.cs
- ToolStripDropDownClosingEventArgs.cs
- PageTextBox.cs
- Switch.cs
- FontUnitConverter.cs
- Path.cs
- CodeGotoStatement.cs
- IIS7UserPrincipal.cs
- SlotInfo.cs
- DataGridViewCellCancelEventArgs.cs
- UrlMapping.cs
- FlagsAttribute.cs
- DelegateSerializationHolder.cs
- ExternalCalls.cs
- TextDecorationCollection.cs
- ClassHandlersStore.cs
- HostProtectionException.cs
- XmlHelper.cs
- GroupStyle.cs
- DrawingImage.cs
- CalendarTable.cs
- HotCommands.cs
- TreeIterator.cs
- ToolZone.cs
- RowSpanVector.cs
- RightsManagementPermission.cs
- ManagementScope.cs
- DifferencingCollection.cs
- DSACryptoServiceProvider.cs
- LocatorBase.cs
- MaxMessageSizeStream.cs
- ActivityStatusChangeEventArgs.cs
- PointValueSerializer.cs
- ObjectHandle.cs
- ButtonFlatAdapter.cs
- ToolStripComboBox.cs
- HtmlInputRadioButton.cs
- EdmItemError.cs
- MergeFailedEvent.cs
- SpecialNameAttribute.cs
- TextElementEnumerator.cs
- CDSsyncETWBCLProvider.cs
- StorageMappingItemLoader.cs
- ProxyManager.cs
- ImageCodecInfo.cs
- BaseProcessProtocolHandler.cs
- StickyNote.cs
- DataGridViewColumnCollection.cs
- TabControlCancelEvent.cs
- SQLByte.cs
- NotifyIcon.cs
- RegularExpressionValidator.cs
- RoleManagerEventArgs.cs
- SerializationStore.cs
- Encoder.cs
- recordstate.cs
- SecurityChannelFactory.cs
- RewritingSimplifier.cs
- CachedBitmap.cs
- HttpPostedFile.cs
- filewebrequest.cs