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
- TaskScheduler.cs
- FormatConvertedBitmap.cs
- RegistryDataKey.cs
- SchemaDeclBase.cs
- TextViewSelectionProcessor.cs
- XmlCharacterData.cs
- Helpers.cs
- TimeZone.cs
- MsmqInputSessionChannel.cs
- documentsequencetextcontainer.cs
- FontUnit.cs
- RangeValidator.cs
- InstanceKey.cs
- XhtmlBasicLabelAdapter.cs
- Variable.cs
- RichTextBox.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- AmbientProperties.cs
- RouteCollection.cs
- GorillaCodec.cs
- TreeViewHitTestInfo.cs
- XmlQueryStaticData.cs
- XmlSerializerFactory.cs
- IntPtr.cs
- SiteMap.cs
- ChineseLunisolarCalendar.cs
- StrokeNodeOperations2.cs
- RequiredFieldValidator.cs
- InvalidPrinterException.cs
- CommandArguments.cs
- AnimationLayer.cs
- SiteMapPath.cs
- Geometry.cs
- DataGridViewLinkColumn.cs
- SourceFileBuildProvider.cs
- XsltCompileContext.cs
- ToolStripHighContrastRenderer.cs
- GeneralTransform2DTo3DTo2D.cs
- DocumentXmlWriter.cs
- MultipleViewPattern.cs
- XmlNode.cs
- WeakHashtable.cs
- WorkerProcess.cs
- BitConverter.cs
- OracleDataAdapter.cs
- ExceptionAggregator.cs
- FunctionMappingTranslator.cs
- TypeDependencyAttribute.cs
- ContainerUIElement3D.cs
- CompilationRelaxations.cs
- DbgCompiler.cs
- SamlAttribute.cs
- DragStartedEventArgs.cs
- MenuItemStyle.cs
- Configuration.cs
- FontInfo.cs
- SignalGate.cs
- RuntimeHelpers.cs
- User.cs
- TypeLoadException.cs
- SqlCacheDependencyDatabase.cs
- OpenTypeLayout.cs
- WebPartConnectVerb.cs
- XmlILOptimizerVisitor.cs
- DataColumnPropertyDescriptor.cs
- CompatibleIComparer.cs
- XMLDiffLoader.cs
- XsltArgumentList.cs
- GifBitmapDecoder.cs
- CodeGroup.cs
- StreamReader.cs
- DataControlFieldCell.cs
- OleDbConnectionInternal.cs
- InstanceKeyView.cs
- WeakReference.cs
- MergeEnumerator.cs
- WeakHashtable.cs
- DoubleSumAggregationOperator.cs
- ToolStripSplitStackLayout.cs
- Attributes.cs
- DoubleLink.cs
- Accessors.cs
- HostExecutionContextManager.cs
- ObjectQuery.cs
- PropertyChangedEventManager.cs
- CookieProtection.cs
- WinFormsSpinner.cs
- Debug.cs
- InstancePersistenceEvent.cs
- StringBuilder.cs
- PeerNameRecord.cs
- ReachSerializerAsync.cs
- FloaterParaClient.cs
- AppearanceEditorPart.cs
- VisualStyleRenderer.cs
- ColumnCollectionEditor.cs
- ClientFormsIdentity.cs
- SelectionGlyph.cs
- DataFormats.cs
- ResourcePool.cs