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 / 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
- LinkUtilities.cs
- HandlerMappingMemo.cs
- UniqueEventHelper.cs
- DataSourceView.cs
- FixUp.cs
- PointHitTestResult.cs
- BindableTemplateBuilder.cs
- SessionStateSection.cs
- KnownAssembliesSet.cs
- MailAddressParser.cs
- ISAPIRuntime.cs
- ConnectionStringSettings.cs
- MemberMaps.cs
- Debug.cs
- DLinqColumnProvider.cs
- Nullable.cs
- UrlUtility.cs
- BrowserCapabilitiesFactory35.cs
- ActivationArguments.cs
- SaveFileDialog.cs
- UTF8Encoding.cs
- SafeCryptHandles.cs
- DictionaryEntry.cs
- PassportPrincipal.cs
- ResponseBodyWriter.cs
- SamlSubjectStatement.cs
- LogicalChannel.cs
- DataBoundLiteralControl.cs
- EventLog.cs
- EmptyStringExpandableObjectConverter.cs
- ObjectSet.cs
- Helper.cs
- CachedPathData.cs
- SmiTypedGetterSetter.cs
- EncryptedKeyHashIdentifierClause.cs
- SynchronizedDispatch.cs
- DependsOnAttribute.cs
- HwndSourceParameters.cs
- Font.cs
- RegisteredScript.cs
- DeploymentSectionCache.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DeclarativeCatalogPartDesigner.cs
- SaveFileDialogDesigner.cs
- SqlStream.cs
- HttpApplication.cs
- TaskExceptionHolder.cs
- AudioBase.cs
- RayMeshGeometry3DHitTestResult.cs
- LogicalTreeHelper.cs
- HashJoinQueryOperatorEnumerator.cs
- SByteConverter.cs
- DataGrid.cs
- UnsafeNativeMethods.cs
- WebPartDescription.cs
- WinEventTracker.cs
- WebServicesDescriptionAttribute.cs
- ToggleButton.cs
- XmlSchema.cs
- Animatable.cs
- FacetDescriptionElement.cs
- ByteStreamGeometryContext.cs
- ResXDataNode.cs
- DataBoundControlHelper.cs
- DriveInfo.cs
- NonParentingControl.cs
- LinearGradientBrush.cs
- GridViewUpdatedEventArgs.cs
- XmlSchemaSimpleType.cs
- NativeMethods.cs
- MetadataItemEmitter.cs
- _LoggingObject.cs
- StringAttributeCollection.cs
- AsymmetricSignatureFormatter.cs
- TrustLevel.cs
- WebResourceUtil.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SQLSingleStorage.cs
- ReceiveMessageRecord.cs
- TextWriterTraceListener.cs
- TreeViewHitTestInfo.cs
- TraceListeners.cs
- HtmlTextArea.cs
- Sequence.cs
- RangeValuePattern.cs
- TabletDevice.cs
- IdentityNotMappedException.cs
- XmlName.cs
- BezierSegment.cs
- WebSysDefaultValueAttribute.cs
- StringStorage.cs
- TreeViewImageIndexConverter.cs
- Point3DIndependentAnimationStorage.cs
- DropTarget.cs
- TeredoHelper.cs
- KeyInterop.cs
- TransformerTypeCollection.cs
- EventLog.cs
- DocumentApplicationJournalEntry.cs
- DropDownList.cs