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
- ListViewUpdateEventArgs.cs
- PrinterResolution.cs
- SessionEndingCancelEventArgs.cs
- XamlReaderConstants.cs
- ScriptMethodAttribute.cs
- EllipseGeometry.cs
- ErasingStroke.cs
- DataRecord.cs
- SettingsProperty.cs
- LockCookie.cs
- ExpressionNormalizer.cs
- SpecularMaterial.cs
- ErrorRuntimeConfig.cs
- DataContext.cs
- DesignerAdapterAttribute.cs
- _NetRes.cs
- CatalogZoneBase.cs
- VirtualPathData.cs
- BooleanFunctions.cs
- DataServices.cs
- AmbientLight.cs
- Base64Stream.cs
- HostedBindingBehavior.cs
- Freezable.cs
- BinaryObjectReader.cs
- DefaultPropertyAttribute.cs
- DocumentPageHost.cs
- ProfileManager.cs
- InternalsVisibleToAttribute.cs
- TypeConverter.cs
- XamlWriter.cs
- Input.cs
- DefaultAssemblyResolver.cs
- TaskDesigner.cs
- BaseValidator.cs
- MenuDesigner.cs
- RenderDataDrawingContext.cs
- RectValueSerializer.cs
- TextRunCache.cs
- FixedPage.cs
- DataServiceHost.cs
- ExceptionHandlers.cs
- Underline.cs
- WSSecurityPolicy12.cs
- RequestCacheEntry.cs
- TrueReadOnlyCollection.cs
- UserPersonalizationStateInfo.cs
- Processor.cs
- BamlVersionHeader.cs
- DataIdProcessor.cs
- ListenerElementsCollection.cs
- SuppressMergeCheckAttribute.cs
- MappedMetaModel.cs
- RegexInterpreter.cs
- XmlUtil.cs
- MsmqAppDomainProtocolHandler.cs
- Empty.cs
- UnmanagedMarshal.cs
- Converter.cs
- HashMembershipCondition.cs
- HtmlInputRadioButton.cs
- ThemeableAttribute.cs
- TextElementEnumerator.cs
- ServiceReference.cs
- FixedTextContainer.cs
- SocketPermission.cs
- MimeObjectFactory.cs
- PropertyPanel.cs
- CodeRemoveEventStatement.cs
- LinqDataSourceStatusEventArgs.cs
- EmptyElement.cs
- ColorMap.cs
- WindowAutomationPeer.cs
- SyntaxCheck.cs
- EntitySqlQueryCacheKey.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- MediaElementAutomationPeer.cs
- ThicknessKeyFrameCollection.cs
- StoryFragments.cs
- ProfilePropertySettingsCollection.cs
- GeometryCombineModeValidation.cs
- ResourceIDHelper.cs
- FamilyTypeface.cs
- DirectionalLight.cs
- SingleObjectCollection.cs
- ConfigsHelper.cs
- BitmapEffectInputData.cs
- DataStreams.cs
- BufferBuilder.cs
- NavigateUrlConverter.cs
- PublisherIdentityPermission.cs
- PeerCollaborationPermission.cs
- DynamicMethod.cs
- OleStrCAMarshaler.cs
- PointUtil.cs
- TextRange.cs
- ThemeDirectoryCompiler.cs
- DataSourceDesigner.cs
- GridViewSelectEventArgs.cs
- CellParaClient.cs