Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / SplineQuaternionKeyFrame.cs / 1305600 / 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
- DataGridViewRowCancelEventArgs.cs
- Pen.cs
- SQLDouble.cs
- CompareInfo.cs
- filewebresponse.cs
- AppSecurityManager.cs
- IdleTimeoutMonitor.cs
- BinaryEditor.cs
- DispatcherExceptionEventArgs.cs
- XmlHelper.cs
- ValueQuery.cs
- MatrixConverter.cs
- SystemWebSectionGroup.cs
- OutputCacheProfileCollection.cs
- WebConfigurationManager.cs
- DefaultBindingPropertyAttribute.cs
- TreeSet.cs
- TextViewSelectionProcessor.cs
- Point4DConverter.cs
- EraserBehavior.cs
- WebPartTransformerAttribute.cs
- wgx_render.cs
- _ConnectOverlappedAsyncResult.cs
- RepeaterItemEventArgs.cs
- Opcode.cs
- HtmlControl.cs
- Command.cs
- DeferredElementTreeState.cs
- Image.cs
- SamlAuthorizationDecisionStatement.cs
- EndpointInfoCollection.cs
- PolyBezierSegment.cs
- ParameterCollection.cs
- EncoderReplacementFallback.cs
- DefaultValueAttribute.cs
- exports.cs
- RadioButton.cs
- SqlGenericUtil.cs
- EventMappingSettingsCollection.cs
- BooleanToVisibilityConverter.cs
- SqlTriggerContext.cs
- IPGlobalProperties.cs
- ShaderEffect.cs
- DataControlLinkButton.cs
- MimePart.cs
- ResetableIterator.cs
- XPathSelectionIterator.cs
- DbException.cs
- HttpAsyncResult.cs
- DesignerSerializerAttribute.cs
- ClientApiGenerator.cs
- View.cs
- Grammar.cs
- SHA1Cng.cs
- DataControlReference.cs
- GenericTypeParameterConverter.cs
- SimpleRecyclingCache.cs
- StorageRoot.cs
- MultiSelector.cs
- ToolStripLocationCancelEventArgs.cs
- TCEAdapterGenerator.cs
- ErrorWebPart.cs
- DbParameterHelper.cs
- BindingListCollectionView.cs
- SynchronizedPool.cs
- CodeAttachEventStatement.cs
- glyphs.cs
- ObjectTypeMapping.cs
- CodeVariableReferenceExpression.cs
- AnnotationResourceCollection.cs
- ListViewItem.cs
- BufferModeSettings.cs
- Tokenizer.cs
- WebRequestModuleElementCollection.cs
- CodeChecksumPragma.cs
- ManagedCodeMarkers.cs
- ServiceOperationHelpers.cs
- PrintDialog.cs
- GlyphRunDrawing.cs
- GenericEnumConverter.cs
- IInstanceContextProvider.cs
- TemplateEditingService.cs
- BmpBitmapDecoder.cs
- SemaphoreFullException.cs
- ApplicationSecurityManager.cs
- XmlCharCheckingReader.cs
- ModelPropertyCollectionImpl.cs
- AutomationEvent.cs
- TextTreeTextElementNode.cs
- RequestCachePolicyConverter.cs
- LogReserveAndAppendState.cs
- EDesignUtil.cs
- RTLAwareMessageBox.cs
- InkCanvasSelection.cs
- SystemEvents.cs
- LambdaExpression.cs
- DataServiceResponse.cs
- ScriptRef.cs
- HttpRequestCacheValidator.cs
- ListViewPagedDataSource.cs