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 / 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
- SafeLibraryHandle.cs
- WorkflowDesignerMessageFilter.cs
- PeerCustomResolverSettings.cs
- OrCondition.cs
- PropertyPathConverter.cs
- SessionStateUtil.cs
- FontFamily.cs
- MultiPartWriter.cs
- BaseParser.cs
- PropertySet.cs
- ResourceSetExpression.cs
- ListItemCollection.cs
- SchemaNamespaceManager.cs
- DataList.cs
- InterleavedZipPartStream.cs
- xml.cs
- SerialStream.cs
- XPathMessageFilterElementComparer.cs
- ObjectSelectorEditor.cs
- DeclaredTypeElement.cs
- ListBase.cs
- SizeConverter.cs
- HoistedLocals.cs
- NumberSubstitution.cs
- ApplicationFileParser.cs
- WebPartDescriptionCollection.cs
- QueryTaskGroupState.cs
- HttpGetServerProtocol.cs
- InvocationExpression.cs
- ProcessModuleDesigner.cs
- SessionStateContainer.cs
- ErrorTableItemStyle.cs
- RegexMatch.cs
- ConfigXmlElement.cs
- GPStream.cs
- ConfigXmlComment.cs
- EdmToObjectNamespaceMap.cs
- CodeMemberEvent.cs
- ToolBarButton.cs
- SchemaTableColumn.cs
- NetworkStream.cs
- TextLineBreak.cs
- XamlTemplateSerializer.cs
- XmlUtilWriter.cs
- ExtensionFile.cs
- UrlPropertyAttribute.cs
- FaultHandlingFilter.cs
- OleDbFactory.cs
- HttpListenerRequestUriBuilder.cs
- Operand.cs
- ToolStripSplitStackLayout.cs
- ClipboardData.cs
- CollectionViewSource.cs
- CompiledRegexRunner.cs
- LayoutExceptionEventArgs.cs
- System.Data_BID.cs
- IERequestCache.cs
- ProxyHwnd.cs
- PageParserFilter.cs
- EntitySqlException.cs
- ObjectAnimationBase.cs
- ParserOptions.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- TextTreePropertyUndoUnit.cs
- Certificate.cs
- MetafileHeaderWmf.cs
- VerticalAlignConverter.cs
- RestClientProxyHandler.cs
- ViewCellSlot.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WindowsScrollBar.cs
- TransactionContextValidator.cs
- MaskedTextBoxTextEditorDropDown.cs
- DecoderExceptionFallback.cs
- DesignerActionKeyboardBehavior.cs
- CompositeDataBoundControl.cs
- RoutedEventHandlerInfo.cs
- FileDialog_Vista.cs
- ListSortDescriptionCollection.cs
- PersonalizableAttribute.cs
- RoleGroup.cs
- TextElementAutomationPeer.cs
- DataTemplateSelector.cs
- MemberHolder.cs
- arabicshape.cs
- Hashtable.cs
- TransformedBitmap.cs
- SourceElementsCollection.cs
- RelationshipWrapper.cs
- FormatException.cs
- PriorityChain.cs
- LambdaCompiler.Statements.cs
- CodeSnippetTypeMember.cs
- PrimitiveType.cs
- XmlSchemaRedefine.cs
- HeaderCollection.cs
- CodeRemoveEventStatement.cs
- StatusBarPanel.cs
- LingerOption.cs
- MetafileHeaderWmf.cs