Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ConfigurationValues.cs
- DesignerTransactionCloseEvent.cs
- IDQuery.cs
- PathFigureCollection.cs
- XmlSchemaAnyAttribute.cs
- PositiveTimeSpanValidatorAttribute.cs
- QueryOperationResponseOfT.cs
- PropertyEmitterBase.cs
- Qualifier.cs
- ColorConvertedBitmap.cs
- WebReferenceCollection.cs
- TableCellCollection.cs
- WindowsGraphicsWrapper.cs
- XmlDataSourceNodeDescriptor.cs
- LicenseContext.cs
- Set.cs
- XmlDocumentType.cs
- TimersDescriptionAttribute.cs
- Random.cs
- ObjectSecurity.cs
- StickyNoteHelper.cs
- SystemSounds.cs
- ScriptModule.cs
- DataGridViewControlCollection.cs
- PathSegmentCollection.cs
- DecoderNLS.cs
- SafeArrayTypeMismatchException.cs
- ColumnResizeAdorner.cs
- Optimizer.cs
- Stack.cs
- XmlSchemaParticle.cs
- SchemaConstraints.cs
- PasswordDeriveBytes.cs
- PackageDigitalSignature.cs
- JsonServiceDocumentSerializer.cs
- DbSetClause.cs
- MouseGestureConverter.cs
- ProfileBuildProvider.cs
- UserCancellationException.cs
- DataGridViewToolTip.cs
- RenderTargetBitmap.cs
- PrinterResolution.cs
- ObjectDataSourceView.cs
- PolygonHotSpot.cs
- TextTreeFixupNode.cs
- Attributes.cs
- BaseDataBoundControl.cs
- LicenseContext.cs
- ActionItem.cs
- FixedSOMLineCollection.cs
- ZoneButton.cs
- SpecialNameAttribute.cs
- TraceXPathNavigator.cs
- DeflateEmulationStream.cs
- BitVector32.cs
- HttpSysSettings.cs
- DocumentPageHost.cs
- glyphs.cs
- PropertyGridEditorPart.cs
- AppearanceEditorPart.cs
- AsymmetricSignatureDeformatter.cs
- Socket.cs
- OrderByExpression.cs
- COAUTHIDENTITY.cs
- WebBrowserContainer.cs
- SubpageParagraph.cs
- InternalSendMessage.cs
- TdsParserStaticMethods.cs
- WebPartDeleteVerb.cs
- SecurityCriticalDataForSet.cs
- DetailsViewRow.cs
- HttpCookiesSection.cs
- FtpWebResponse.cs
- XmlSchemaComplexContent.cs
- ExtenderProvidedPropertyAttribute.cs
- TypeFieldSchema.cs
- LinkUtilities.cs
- MiniModule.cs
- ChineseLunisolarCalendar.cs
- OperationContractGenerationContext.cs
- DataGridViewAdvancedBorderStyle.cs
- SimpleWorkerRequest.cs
- ProxyHelper.cs
- CodeCatchClause.cs
- AutomationProperties.cs
- Utils.cs
- MailWebEventProvider.cs
- ErrorProvider.cs
- PolicyStatement.cs
- ExpandableObjectConverter.cs
- NodeInfo.cs
- ValidatorCollection.cs
- RemoteWebConfigurationHostStream.cs
- FontFamilyIdentifier.cs
- SR.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ConfigurationFileMap.cs
- GridLength.cs
- BasicHttpSecurityElement.cs
- ExtenderControl.cs