Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- RequestQueryProcessor.cs
- ArgumentNullException.cs
- ComEventsHelper.cs
- ManagedWndProcTracker.cs
- XamlReaderConstants.cs
- SQLInt32Storage.cs
- FamilyMap.cs
- XmlUtil.cs
- SerializationAttributes.cs
- StringExpressionSet.cs
- DatasetMethodGenerator.cs
- CommandValueSerializer.cs
- PathSegmentCollection.cs
- XmlMapping.cs
- EncoderExceptionFallback.cs
- SerTrace.cs
- DependencyPropertyKind.cs
- FormViewInsertEventArgs.cs
- TabControl.cs
- BoundPropertyEntry.cs
- XdrBuilder.cs
- ToolboxItemLoader.cs
- MonitoringDescriptionAttribute.cs
- DictionaryContent.cs
- ConfigurationConverterBase.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- base64Transforms.cs
- DataGridAutomationPeer.cs
- EventDescriptor.cs
- AutomationElement.cs
- SqlDataSourceCustomCommandEditor.cs
- HttpStreamFormatter.cs
- BackgroundFormatInfo.cs
- ContentPropertyAttribute.cs
- ObfuscationAttribute.cs
- MobileCapabilities.cs
- DbProviderConfigurationHandler.cs
- Drawing.cs
- Evaluator.cs
- HitTestFilterBehavior.cs
- ApplicationActivator.cs
- RunWorkerCompletedEventArgs.cs
- MetadataArtifactLoaderComposite.cs
- DrawingGroup.cs
- AuthenticationServiceManager.cs
- SqlConnectionStringBuilder.cs
- PenLineCapValidation.cs
- StorageEndPropertyMapping.cs
- DeviceSpecificDialogCachedState.cs
- HelpProvider.cs
- FunctionGenerator.cs
- SpecialNameAttribute.cs
- DetailsViewActionList.cs
- FixedSchema.cs
- ByteFacetDescriptionElement.cs
- NamespaceEmitter.cs
- RelatedCurrencyManager.cs
- DesignBindingValueUIHandler.cs
- RegexTree.cs
- EastAsianLunisolarCalendar.cs
- StandardBindingImporter.cs
- PenContext.cs
- PasswordRecovery.cs
- PrimitiveDataContract.cs
- StatusBar.cs
- GetWorkflowTree.cs
- XmlSecureResolver.cs
- NonVisualControlAttribute.cs
- SerialStream.cs
- TextCollapsingProperties.cs
- SqlConnectionManager.cs
- ToolConsole.cs
- RowToParametersTransformer.cs
- PeerInputChannelListener.cs
- AmbiguousMatchException.cs
- IssuanceTokenProviderBase.cs
- Utils.cs
- StrongNamePublicKeyBlob.cs
- Parameter.cs
- ToolStripRenderer.cs
- ToolStripSettings.cs
- CallContext.cs
- CachedFontFamily.cs
- UInt32.cs
- HttpException.cs
- BitmapSource.cs
- ComponentTray.cs
- JulianCalendar.cs
- FileDialog.cs
- ConnectionManagementSection.cs
- Stacktrace.cs
- HandlerFactoryWrapper.cs
- ResourceKey.cs
- WebPartConnectVerb.cs
- CompoundFileReference.cs
- SqlParameterizer.cs
- ImageCodecInfo.cs
- oledbconnectionstring.cs
- WebControlsSection.cs
- PropertyManager.cs