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
- DataPagerFieldCollection.cs
- DesignerForm.cs
- SystemBrushes.cs
- StringStorage.cs
- JavaScriptString.cs
- DataGridViewComboBoxColumn.cs
- SecurityDocument.cs
- DefaultValueTypeConverter.cs
- EntityRecordInfo.cs
- X509Certificate2.cs
- Hashtable.cs
- RectIndependentAnimationStorage.cs
- SafeNativeMethodsCLR.cs
- _UriSyntax.cs
- ImageMapEventArgs.cs
- ACL.cs
- loginstatus.cs
- XmlEncodedRawTextWriter.cs
- PersonalizationProviderCollection.cs
- ValidationResult.cs
- Label.cs
- TraceSection.cs
- ArraySegment.cs
- PointHitTestResult.cs
- SupportingTokenParameters.cs
- HttpMethodConstraint.cs
- ListBox.cs
- SystemIPAddressInformation.cs
- Mappings.cs
- OpCellTreeNode.cs
- SubMenuStyle.cs
- DetailsViewUpdateEventArgs.cs
- DBSqlParserColumn.cs
- GridViewColumn.cs
- NetworkInformationException.cs
- HierarchicalDataSourceControl.cs
- Margins.cs
- MimeTypePropertyAttribute.cs
- TextTreeUndo.cs
- TextElementCollectionHelper.cs
- CodeEventReferenceExpression.cs
- CharAnimationUsingKeyFrames.cs
- Soap12ProtocolReflector.cs
- UnsafeNativeMethods.cs
- SimpleFieldTemplateFactory.cs
- TriState.cs
- DbQueryCommandTree.cs
- FloaterParagraph.cs
- TraceSource.cs
- TypeReference.cs
- RequestContext.cs
- ResetableIterator.cs
- SspiNegotiationTokenProvider.cs
- ConnectionOrientedTransportBindingElement.cs
- JoinSymbol.cs
- GraphicsPathIterator.cs
- Icon.cs
- AvTrace.cs
- Content.cs
- ArgumentException.cs
- SemanticAnalyzer.cs
- Error.cs
- FastEncoder.cs
- LinkDescriptor.cs
- DataFormats.cs
- ObjectListDesigner.cs
- AccessedThroughPropertyAttribute.cs
- DependencyPropertyConverter.cs
- Simplifier.cs
- ContentHostHelper.cs
- DeflateStreamAsyncResult.cs
- Pens.cs
- ActivityTypeCodeDomSerializer.cs
- SectionXmlInfo.cs
- SortKey.cs
- ConvertTextFrag.cs
- SqlNode.cs
- FeedUtils.cs
- EventLogger.cs
- PersonalizationProviderCollection.cs
- CallbackHandler.cs
- XPathExpr.cs
- WindowsComboBox.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- CollaborationHelperFunctions.cs
- MissingMemberException.cs
- SystemIPInterfaceStatistics.cs
- CodePrimitiveExpression.cs
- Simplifier.cs
- SRef.cs
- UnsafeNativeMethods.cs
- TriggerAction.cs
- GenericsInstances.cs
- XPathEmptyIterator.cs
- AssemblyResourceLoader.cs
- DataGridViewRow.cs
- JsonQNameDataContract.cs
- QuadraticBezierSegment.cs
- PageCatalogPart.cs
- ComAdminInterfaces.cs