Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1305600 / 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
- DWriteFactory.cs
- TemplateControlCodeDomTreeGenerator.cs
- XmlSchemaAnyAttribute.cs
- UndoUnit.cs
- ColumnResult.cs
- RadioButtonDesigner.cs
- IisTraceListener.cs
- COM2ComponentEditor.cs
- FloatUtil.cs
- AddInActivator.cs
- FixedSOMTextRun.cs
- Dynamic.cs
- MdiWindowListStrip.cs
- SystemBrushes.cs
- AccessibleObject.cs
- ConstraintCollection.cs
- Enlistment.cs
- SelectionHighlightInfo.cs
- TCPListener.cs
- ConfigurationSettings.cs
- SqlXmlStorage.cs
- Int64.cs
- AutomationElement.cs
- CodeMethodInvokeExpression.cs
- _ProxyRegBlob.cs
- ImportContext.cs
- ChannelTracker.cs
- StorageEntityTypeMapping.cs
- ProgressiveCrcCalculatingStream.cs
- AuthenticationModuleElement.cs
- TailCallAnalyzer.cs
- LogicalChannel.cs
- FolderBrowserDialog.cs
- ContentElement.cs
- DesigntimeLicenseContextSerializer.cs
- TraceSection.cs
- ProviderBase.cs
- EventDescriptor.cs
- KeyConverter.cs
- DataGridViewRowsRemovedEventArgs.cs
- DBSqlParser.cs
- XPathEmptyIterator.cs
- EventManager.cs
- ObjectQueryState.cs
- ServiceInfo.cs
- BufferedStream2.cs
- MeasurementDCInfo.cs
- SingleTagSectionHandler.cs
- ConnectionStringsExpressionEditor.cs
- ProbeDuplexCD1AsyncResult.cs
- FormsIdentity.cs
- HtmlElementErrorEventArgs.cs
- SqlError.cs
- Light.cs
- XamlToRtfParser.cs
- PolyBezierSegment.cs
- TripleDES.cs
- BitmapEffectDrawing.cs
- OutputCacheSettingsSection.cs
- MissingFieldException.cs
- PropertyIDSet.cs
- SqlMethodCallConverter.cs
- MeasurementDCInfo.cs
- OleDbConnectionFactory.cs
- InternalControlCollection.cs
- uribuilder.cs
- DbConnectionPoolIdentity.cs
- DrawingContextDrawingContextWalker.cs
- NativeMethods.cs
- XmlSchemas.cs
- AttributeUsageAttribute.cs
- ADRoleFactory.cs
- StylusPointPropertyId.cs
- TimerElapsedEvenArgs.cs
- EtwTrackingParticipant.cs
- _OSSOCK.cs
- CmsInterop.cs
- graph.cs
- VariantWrapper.cs
- httpstaticobjectscollection.cs
- DateTimeUtil.cs
- SqlClientWrapperSmiStream.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- CodeIndexerExpression.cs
- SocketException.cs
- XmlBinaryReader.cs
- CategoryValueConverter.cs
- CSharpCodeProvider.cs
- FunctionUpdateCommand.cs
- PropertyCollection.cs
- ScrollChrome.cs
- WorkflowWebService.cs
- Validator.cs
- OdbcFactory.cs
- PrintPreviewGraphics.cs
- PathGradientBrush.cs
- AdornerPresentationContext.cs
- WebPartTransformerCollection.cs
- WebBrowser.cs
- NetworkInformationPermission.cs