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
- PerformanceCounterScope.cs
- Avt.cs
- Convert.cs
- HiddenFieldPageStatePersister.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- FileFormatException.cs
- TypeUsageBuilder.cs
- CompensationHandlingFilter.cs
- _UriTypeConverter.cs
- BinaryMethodMessage.cs
- AuditLogLocation.cs
- MatrixValueSerializer.cs
- ParameterModifier.cs
- MediaElementAutomationPeer.cs
- XmlReaderDelegator.cs
- CollectionViewGroupInternal.cs
- ContainerSelectorActiveEvent.cs
- XamlPointCollectionSerializer.cs
- BitmapEffectGroup.cs
- ImportContext.cs
- ThumbAutomationPeer.cs
- SingleKeyFrameCollection.cs
- DataGridDetailsPresenter.cs
- StopRoutingHandler.cs
- DelegatingStream.cs
- SkewTransform.cs
- HtmlAnchor.cs
- OptimizedTemplateContentHelper.cs
- AsyncResult.cs
- NamespaceList.cs
- CqlErrorHelper.cs
- FileDialog.cs
- StylusPointDescription.cs
- XMLSchema.cs
- ColumnCollection.cs
- embossbitmapeffect.cs
- Permission.cs
- EmptyQuery.cs
- AssociationTypeEmitter.cs
- GridSplitterAutomationPeer.cs
- DataGridViewDataErrorEventArgs.cs
- DesignerListAdapter.cs
- HandledMouseEvent.cs
- DataServiceBuildProvider.cs
- HtmlLiteralTextAdapter.cs
- Evidence.cs
- LinqTreeNodeEvaluator.cs
- QueryCoreOp.cs
- WebPartVerbCollection.cs
- PipelineModuleStepContainer.cs
- RadioButton.cs
- ItemMap.cs
- SHA512.cs
- GlobalizationAssembly.cs
- DocumentViewer.cs
- PenCursorManager.cs
- TreeSet.cs
- CreateUserWizardAutoFormat.cs
- BinHexDecoder.cs
- GPPOINT.cs
- TabControlEvent.cs
- Quaternion.cs
- ErrorWebPart.cs
- ButtonColumn.cs
- WindowAutomationPeer.cs
- StorageModelBuildProvider.cs
- PerformanceCounterPermission.cs
- PackageProperties.cs
- AggregateNode.cs
- DecoderFallback.cs
- PointCollectionConverter.cs
- CaseInsensitiveComparer.cs
- CallTemplateAction.cs
- XmlWhitespace.cs
- EntryPointNotFoundException.cs
- MasterPageBuildProvider.cs
- SlipBehavior.cs
- BaseTreeIterator.cs
- SqlConnectionHelper.cs
- COSERVERINFO.cs
- UnhandledExceptionEventArgs.cs
- OutputWindow.cs
- ResumeStoryboard.cs
- HMACMD5.cs
- EntityDataSourceContextCreatingEventArgs.cs
- WebException.cs
- FigureParaClient.cs
- SqlDataSourceConfigureFilterForm.cs
- SecurityTokenTypes.cs
- DataGridViewElement.cs
- ParserStreamGeometryContext.cs
- LogExtent.cs
- StorageScalarPropertyMapping.cs
- ComponentResourceKey.cs
- PrinterSettings.cs
- MulticastNotSupportedException.cs
- DbConnectionClosed.cs
- CellCreator.cs
- Command.cs
- GridViewColumnCollection.cs