Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReadOnlyDataSource.cs
- DataGridTableCollection.cs
- HttpResponseHeader.cs
- SafeTimerHandle.cs
- ExtensionWindow.cs
- CompositeDataBoundControl.cs
- DataSourceCacheDurationConverter.cs
- PersonalizationProviderHelper.cs
- UpdatePanelControlTrigger.cs
- Camera.cs
- StreamResourceInfo.cs
- LocalizableResourceBuilder.cs
- CompressionTracing.cs
- XmlValidatingReaderImpl.cs
- WSTrustFeb2005.cs
- ItemCollection.cs
- ButtonStandardAdapter.cs
- DataSourceControl.cs
- PenThreadWorker.cs
- XmlSchemaAnnotation.cs
- WebEventCodes.cs
- SelectionPattern.cs
- TextModifierScope.cs
- ReadOnlyMetadataCollection.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- WorkflowOperationAsyncResult.cs
- DockEditor.cs
- QilExpression.cs
- Vector.cs
- ExpressionServices.cs
- WsatServiceCertificate.cs
- SourceElementsCollection.cs
- UrlMappingsModule.cs
- OdbcPermission.cs
- SendMailErrorEventArgs.cs
- TemplateBindingExtension.cs
- ContentFileHelper.cs
- WindowsSecurityToken.cs
- ObjectResult.cs
- DataSourceSerializationException.cs
- MetadataHelper.cs
- GlobalEventManager.cs
- DbLambda.cs
- EdmProperty.cs
- X500Name.cs
- Stack.cs
- Operator.cs
- MenuItemStyle.cs
- CqlIdentifiers.cs
- HtmlTableCellCollection.cs
- RestHandlerFactory.cs
- PreservationFileWriter.cs
- CompoundFileIOPermission.cs
- SqlBinder.cs
- HashSet.cs
- RtfNavigator.cs
- AppDomain.cs
- OracleEncoding.cs
- AppendHelper.cs
- NamedPipeTransportManager.cs
- ListItemParagraph.cs
- XPathNavigatorKeyComparer.cs
- AssemblyInfo.cs
- WindowsListViewItem.cs
- ConfigurationErrorsException.cs
- PingReply.cs
- UriSection.cs
- FontFaceLayoutInfo.cs
- FixUpCollection.cs
- DashStyle.cs
- SetIterators.cs
- InvalidContentTypeException.cs
- SQLDecimal.cs
- AQNBuilder.cs
- Utils.cs
- DayRenderEvent.cs
- AutomationTextAttribute.cs
- TypedAsyncResult.cs
- AbsoluteQuery.cs
- SmiMetaData.cs
- Brush.cs
- EventSourceCreationData.cs
- StringUtil.cs
- KeyTime.cs
- ReflectionUtil.cs
- InputLanguageSource.cs
- StoragePropertyMapping.cs
- SafeRightsManagementHandle.cs
- SqlAliasesReferenced.cs
- EventManager.cs
- FormViewPageEventArgs.cs
- UTF7Encoding.cs
- DataSourceXmlAttributeAttribute.cs
- CheckBoxList.cs
- StateFinalizationDesigner.cs
- TextClipboardData.cs
- OutArgumentConverter.cs
- SqlStream.cs
- DecoderFallbackWithFailureFlag.cs
- PersonalizableTypeEntry.cs