Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- WebFormsRootDesigner.cs
- LayoutEditorPart.cs
- ComPlusDiagnosticTraceRecords.cs
- Pair.cs
- WebEncodingValidator.cs
- ConfigurationValues.cs
- SvcMapFile.cs
- DefaultIfEmptyQueryOperator.cs
- VisualBrush.cs
- ObjectPropertyMapping.cs
- ColumnMapTranslator.cs
- AnnouncementEventArgs.cs
- ProtocolsConfiguration.cs
- PointCollection.cs
- SqlFactory.cs
- PathGeometry.cs
- IconConverter.cs
- TreeSet.cs
- DiscoveryInnerClientAdhocCD1.cs
- ManagedWndProcTracker.cs
- WebMessageEncodingElement.cs
- OperationFormatUse.cs
- LoaderAllocator.cs
- ArglessEventHandlerProxy.cs
- WebProxyScriptElement.cs
- HwndMouseInputProvider.cs
- DbConnectionPoolIdentity.cs
- Internal.cs
- BufferedOutputStream.cs
- TextOutput.cs
- SqlCacheDependencySection.cs
- newinstructionaction.cs
- TranslateTransform3D.cs
- ellipse.cs
- RemotingServices.cs
- PerformanceCounterLib.cs
- FloaterBaseParaClient.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- AuthStoreRoleProvider.cs
- ContentTextAutomationPeer.cs
- LiteralControl.cs
- DbProviderFactory.cs
- PropertyGridEditorPart.cs
- IISMapPath.cs
- MenuItemStyle.cs
- ACE.cs
- PipelineModuleStepContainer.cs
- EdmItemCollection.OcAssemblyCache.cs
- ConfigViewGenerator.cs
- DataGridViewAccessibleObject.cs
- HiddenFieldPageStatePersister.cs
- FileLevelControlBuilderAttribute.cs
- HelpKeywordAttribute.cs
- DataComponentMethodGenerator.cs
- ResourceManager.cs
- ArrayWithOffset.cs
- TabControlEvent.cs
- BaseAddressPrefixFilterElementCollection.cs
- MissingMemberException.cs
- AssemblyResourceLoader.cs
- HtmlFormParameterWriter.cs
- HttpRequestCacheValidator.cs
- Rectangle.cs
- WindowsFont.cs
- WmlLabelAdapter.cs
- ScriptingWebServicesSectionGroup.cs
- HuffmanTree.cs
- CodeAttachEventStatement.cs
- XPathNodeHelper.cs
- MemberRelationshipService.cs
- IdnMapping.cs
- ReversePositionQuery.cs
- DefinitionBase.cs
- NativeMethods.cs
- CustomPopupPlacement.cs
- ArgumentsParser.cs
- AssociatedControlConverter.cs
- JournalEntryListConverter.cs
- MediaContextNotificationWindow.cs
- DispatcherObject.cs
- CultureSpecificStringDictionary.cs
- BrushMappingModeValidation.cs
- MediaElementAutomationPeer.cs
- DBDataPermission.cs
- ComponentResourceKeyConverter.cs
- CacheVirtualItemsEvent.cs
- GroupStyle.cs
- bindurihelper.cs
- IteratorFilter.cs
- WebMethodAttribute.cs
- Types.cs
- mongolianshape.cs
- KeySpline.cs
- SrgsRuleRef.cs
- DataGridViewRowPrePaintEventArgs.cs
- WebPartConnection.cs
- AppSettingsSection.cs
- EntityDataSourceConfigureObjectContext.cs
- VoiceInfo.cs
- FloatUtil.cs