Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / SplineQuaternionKeyFrame.cs / 1305600 / 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
- BaseCodeDomTreeGenerator.cs
- ElementAction.cs
- WebEventTraceProvider.cs
- TreeNode.cs
- ImageCodecInfo.cs
- XmlEventCache.cs
- DefinitionUpdate.cs
- ClientTarget.cs
- NativeWindow.cs
- RuntimeConfigLKG.cs
- KeyboardNavigation.cs
- TypeUnloadedException.cs
- MdiWindowListItemConverter.cs
- SessionStateUtil.cs
- VisualBasicImportReference.cs
- GridView.cs
- TextureBrush.cs
- DBConcurrencyException.cs
- SQLMoney.cs
- ClassHandlersStore.cs
- Filter.cs
- InputLangChangeEvent.cs
- ZipPackagePart.cs
- WebSysDefaultValueAttribute.cs
- bindurihelper.cs
- FixedStringLookup.cs
- ArrayItemReference.cs
- HelpKeywordAttribute.cs
- FormViewRow.cs
- PrinterResolution.cs
- XmlName.cs
- FontFamily.cs
- BamlLocalizableResource.cs
- Add.cs
- NativeCppClassAttribute.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- PersonalizationProviderCollection.cs
- HtmlInputPassword.cs
- GenerateScriptTypeAttribute.cs
- XmlSerializerNamespaces.cs
- FixedSOMPageConstructor.cs
- PassportAuthenticationModule.cs
- Internal.cs
- XmlQueryContext.cs
- NegationPusher.cs
- CompilerState.cs
- ProgressBarBrushConverter.cs
- SequentialOutput.cs
- AssemblyFilter.cs
- NameSpaceExtractor.cs
- BitmapVisualManager.cs
- BooleanExpr.cs
- URLAttribute.cs
- ResourceAttributes.cs
- PointAnimationBase.cs
- AppDomainAttributes.cs
- SByteStorage.cs
- RequestQueryProcessor.cs
- ResourceExpressionBuilder.cs
- CloudCollection.cs
- UIElementPropertyUndoUnit.cs
- Brushes.cs
- DataSourceView.cs
- IntellisenseTextBox.cs
- FragmentNavigationEventArgs.cs
- HtmlForm.cs
- LoginUtil.cs
- SchemaTypeEmitter.cs
- WorkBatch.cs
- BufferAllocator.cs
- HttpProfileBase.cs
- MetabaseServerConfig.cs
- DocobjHost.cs
- XmlUtf8RawTextWriter.cs
- SecurityElement.cs
- RowCache.cs
- SkewTransform.cs
- PointLight.cs
- CustomErrorCollection.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ConstraintCollection.cs
- RawStylusInputReport.cs
- ReadOnlyState.cs
- Composition.cs
- Connector.xaml.cs
- DiscriminatorMap.cs
- DataViewSetting.cs
- ArrayElementGridEntry.cs
- FixedSOMFixedBlock.cs
- TextEditorSpelling.cs
- DataColumn.cs
- GregorianCalendar.cs
- XmlEntity.cs
- DNS.cs
- ApplicationId.cs
- GridSplitter.cs
- WebPartVerb.cs
- StringUtil.cs
- TypeDescriptorContext.cs
- SettingsContext.cs