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
- HttpResponseHeader.cs
- DetailsViewRowCollection.cs
- SynchronizationScope.cs
- SmtpAuthenticationManager.cs
- _AuthenticationState.cs
- TargetException.cs
- ProxyWebPartConnectionCollection.cs
- ContextStack.cs
- _Win32.cs
- ErrorsHelper.cs
- ConfigurationSectionHelper.cs
- TerminatorSinks.cs
- DateTimeOffsetStorage.cs
- MessageProtectionOrder.cs
- DetailsViewUpdateEventArgs.cs
- TextViewDesigner.cs
- StateDesigner.TransitionInfo.cs
- DetailsViewUpdatedEventArgs.cs
- AppDomainAttributes.cs
- HttpStreamMessage.cs
- VisualProxy.cs
- DataPagerFieldItem.cs
- DefaultObjectMappingItemCollection.cs
- NumericUpDown.cs
- SiteOfOriginPart.cs
- ConfigXmlAttribute.cs
- DoubleAnimationBase.cs
- StringCollection.cs
- WindowPattern.cs
- PixelFormatConverter.cs
- ProcessThread.cs
- DbParameterHelper.cs
- SafeSystemMetrics.cs
- BaseCAMarshaler.cs
- DateTimeSerializationSection.cs
- UICuesEvent.cs
- RectConverter.cs
- UndoEngine.cs
- EdmError.cs
- Component.cs
- FlowSwitch.cs
- XmlElementCollection.cs
- ProtocolViolationException.cs
- XmlElementCollection.cs
- BamlVersionHeader.cs
- PatternMatcher.cs
- Pen.cs
- InvalidDocumentContentsException.cs
- BrowserCapabilitiesCompiler.cs
- MonthCalendarDesigner.cs
- OleDbFactory.cs
- AssemblyBuilderData.cs
- SspiNegotiationTokenProviderState.cs
- ManifestSignatureInformation.cs
- DefaultValueAttribute.cs
- LinkArea.cs
- WebMessageFormatHelper.cs
- FixedFlowMap.cs
- ContentElementAutomationPeer.cs
- SQLGuid.cs
- CqlIdentifiers.cs
- DataGridAddNewRow.cs
- UserUseLicenseDictionaryLoader.cs
- UnsafePeerToPeerMethods.cs
- HttpListenerRequest.cs
- ObjectParameter.cs
- ProfileGroupSettings.cs
- ConnectionManagementElement.cs
- OracleSqlParser.cs
- TypeExtension.cs
- CategoryNameCollection.cs
- ProcessInfo.cs
- DocumentPageViewAutomationPeer.cs
- Frame.cs
- QuotedPrintableStream.cs
- UIPermission.cs
- EntityFrameworkVersions.cs
- RecordConverter.cs
- IPipelineRuntime.cs
- RawTextInputReport.cs
- StylusCollection.cs
- RectAnimationUsingKeyFrames.cs
- Set.cs
- ScriptDescriptor.cs
- SqlBuilder.cs
- BuiltInExpr.cs
- Table.cs
- MissingFieldException.cs
- ToolStripPanelRenderEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- GPStream.cs
- ToolStripContentPanel.cs
- BackgroundWorker.cs
- PropertyGridDesigner.cs
- XmlSchemas.cs
- ColumnBinding.cs
- WSHttpBindingBaseElement.cs
- FacetDescription.cs
- AppSettingsSection.cs
- CopyCodeAction.cs