Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1 / 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
- SchemaElementDecl.cs
- ProjectedSlot.cs
- ProvidersHelper.cs
- IndexerNameAttribute.cs
- XPathAncestorQuery.cs
- CompoundFileStreamReference.cs
- DataGridViewCellParsingEventArgs.cs
- SelectorAutomationPeer.cs
- Inflater.cs
- ListViewDeletedEventArgs.cs
- FontWeights.cs
- EmptyReadOnlyDictionaryInternal.cs
- WorkflowRuntimeElement.cs
- ObjectConverter.cs
- externdll.cs
- ToolStripScrollButton.cs
- XmlSchemaAnnotated.cs
- PanelContainerDesigner.cs
- HuffCodec.cs
- MenuScrollingVisibilityConverter.cs
- SerializationUtility.cs
- SoapSchemaExporter.cs
- WindowsRichEdit.cs
- ListBox.cs
- Storyboard.cs
- CellQuery.cs
- PersonalizablePropertyEntry.cs
- VisualTreeUtils.cs
- PeerEndPoint.cs
- GestureRecognizer.cs
- GeneralTransform2DTo3D.cs
- ButtonBaseAdapter.cs
- DataListItemEventArgs.cs
- ParserHooks.cs
- ResXDataNode.cs
- GestureRecognizer.cs
- BrushValueSerializer.cs
- HandoffBehavior.cs
- GridViewDeletedEventArgs.cs
- ActivationServices.cs
- Enlistment.cs
- ItemCheckEvent.cs
- DirectoryNotFoundException.cs
- FontSource.cs
- SmtpAuthenticationManager.cs
- XmlFormatReaderGenerator.cs
- webproxy.cs
- NameSpaceExtractor.cs
- DictionaryKeyPropertyAttribute.cs
- SqlXml.cs
- FactoryGenerator.cs
- DodSequenceMerge.cs
- LocalFileSettingsProvider.cs
- AccessorTable.cs
- ContainerControl.cs
- TemplatePropertyEntry.cs
- CodeTypeParameter.cs
- SimpleBitVector32.cs
- FrameworkElementFactoryMarkupObject.cs
- DataServiceRequestException.cs
- XamlDesignerSerializationManager.cs
- ResourceIDHelper.cs
- ContextMenu.cs
- FixedPosition.cs
- QilTernary.cs
- ScrollChangedEventArgs.cs
- ArrayElementGridEntry.cs
- BuildProvidersCompiler.cs
- ColorTransform.cs
- Size.cs
- Int16Animation.cs
- DesignerTransactionCloseEvent.cs
- EnumerableWrapperWeakToStrong.cs
- FontSourceCollection.cs
- GridLengthConverter.cs
- DbSourceParameterCollection.cs
- XmlBinaryWriterSession.cs
- StrokeFIndices.cs
- BaseCodePageEncoding.cs
- FlowLayout.cs
- CorrelationQuery.cs
- CodeTypeParameter.cs
- NavigationExpr.cs
- VirtualPathUtility.cs
- RepeatButtonAutomationPeer.cs
- ResXDataNode.cs
- NativeRightsManagementAPIsStructures.cs
- StandardOleMarshalObject.cs
- CodeParameterDeclarationExpression.cs
- StorageFunctionMapping.cs
- NativeMethods.cs
- ParameterBuilder.cs
- TypeConverterHelper.cs
- Assert.cs
- CellQuery.cs
- COMException.cs
- TypeSemantics.cs
- ControlAdapter.cs
- CodeIdentifier.cs
- RelationalExpressions.cs