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
- MultipleViewPattern.cs
- SynchronousSendBindingElement.cs
- NullRuntimeConfig.cs
- TableLayoutRowStyleCollection.cs
- UserUseLicenseDictionaryLoader.cs
- SectionXmlInfo.cs
- IfElseDesigner.xaml.cs
- SQLBytes.cs
- ResponseStream.cs
- ReflectionPermission.cs
- DbConnectionPool.cs
- TextSelectionHighlightLayer.cs
- XmlQualifiedName.cs
- WizardStepCollectionEditor.cs
- CommandPlan.cs
- DataGridViewCheckBoxColumn.cs
- SamlConditions.cs
- HtmlMeta.cs
- ErrorHandler.cs
- FullTextState.cs
- StorageMappingItemCollection.cs
- CompoundFileStorageReference.cs
- PropertyItemInternal.cs
- AtomMaterializer.cs
- FacetChecker.cs
- _IPv4Address.cs
- DesigntimeLicenseContextSerializer.cs
- CryptoApi.cs
- FixedSOMSemanticBox.cs
- DataGridViewTopLeftHeaderCell.cs
- VsPropertyGrid.cs
- XPathDocument.cs
- HttpRequestWrapper.cs
- EncodingTable.cs
- ObjectParameter.cs
- ToolStripOverflow.cs
- BooleanToVisibilityConverter.cs
- TypeConverterHelper.cs
- ActivityDesignerAccessibleObject.cs
- ISAPIApplicationHost.cs
- WebPartConnectionsConnectVerb.cs
- DefaultValueConverter.cs
- WindowsBrush.cs
- ListSourceHelper.cs
- GenericTypeParameterBuilder.cs
- HtmlGenericControl.cs
- StrongNameMembershipCondition.cs
- Int32Animation.cs
- InfiniteTimeSpanConverter.cs
- ModelItemImpl.cs
- _ChunkParse.cs
- DataSourceViewSchemaConverter.cs
- WebBrowserContainer.cs
- Geometry3D.cs
- login.cs
- UserNameSecurityTokenAuthenticator.cs
- Select.cs
- VectorAnimationUsingKeyFrames.cs
- ButtonBase.cs
- CollectionType.cs
- ListCollectionView.cs
- StringCollectionEditor.cs
- RuleConditionDialog.Designer.cs
- InheritanceContextHelper.cs
- XmlIncludeAttribute.cs
- ConfigXmlText.cs
- WorkflowPrinting.cs
- ComNativeDescriptor.cs
- ConnectionStringsExpressionEditor.cs
- FormatConvertedBitmap.cs
- HotCommands.cs
- SourceFileBuildProvider.cs
- CodeAttachEventStatement.cs
- SubclassTypeValidator.cs
- ComplexType.cs
- ToolboxDataAttribute.cs
- BamlBinaryReader.cs
- MULTI_QI.cs
- URIFormatException.cs
- DataGridViewImageCell.cs
- CodeTypeMemberCollection.cs
- DesignerHelpers.cs
- DefaultTextStoreTextComposition.cs
- RequestQueryProcessor.cs
- FixedSOMFixedBlock.cs
- Typography.cs
- RequestCacheEntry.cs
- EditorZoneAutoFormat.cs
- TextAnchor.cs
- DataGridState.cs
- SmiConnection.cs
- ClientFormsIdentity.cs
- Inflater.cs
- NameValuePair.cs
- BitmapEffectInputConnector.cs
- XamlInterfaces.cs
- WhiteSpaceTrimStringConverter.cs
- Identifier.cs
- UnsafeNativeMethods.cs
- PropertyTab.cs