Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / Animation / SplineQuaternionKeyFrame.cs / 1 / 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
- RegistrationServices.cs
- InputBindingCollection.cs
- LinkUtilities.cs
- PageBuildProvider.cs
- APCustomTypeDescriptor.cs
- SqlDataSourceCommandEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- CompilerScopeManager.cs
- JavaScriptObjectDeserializer.cs
- NonVisualControlAttribute.cs
- TreeNodeConverter.cs
- GeometryGroup.cs
- DataPointer.cs
- FilteredAttributeCollection.cs
- CodeCommentStatementCollection.cs
- GeneralTransformCollection.cs
- FillRuleValidation.cs
- DelegateCompletionCallbackWrapper.cs
- XmlSchemaSimpleContentExtension.cs
- NumericUpDownAcceleration.cs
- ServiceHttpModule.cs
- ArrayList.cs
- ConfigurationSettings.cs
- TraceLog.cs
- BoundField.cs
- MLangCodePageEncoding.cs
- Duration.cs
- RowTypePropertyElement.cs
- AppDomainEvidenceFactory.cs
- UpdateException.cs
- ThicknessAnimationUsingKeyFrames.cs
- XmlSyndicationContent.cs
- AssemblyGen.cs
- GeneralTransform3D.cs
- SoapSchemaExporter.cs
- Schema.cs
- CryptoStream.cs
- DataGridViewTopLeftHeaderCell.cs
- FileChangeNotifier.cs
- BasicCellRelation.cs
- MetadataArtifactLoader.cs
- XamlTemplateSerializer.cs
- ValidationEventArgs.cs
- AppDomainAttributes.cs
- CommentGlyph.cs
- SubstitutionResponseElement.cs
- XsdBuildProvider.cs
- InvalidFilterCriteriaException.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ToolStripPanelRow.cs
- ColorMap.cs
- EventOpcode.cs
- XmlSchemaSet.cs
- VisualStateManager.cs
- CustomLineCap.cs
- HatchBrush.cs
- ChineseLunisolarCalendar.cs
- MaterialGroup.cs
- HttpEncoder.cs
- RefType.cs
- XmlSchemaValidator.cs
- DefaultDiscoveryServiceExtension.cs
- GroupItem.cs
- XmlSchemaIdentityConstraint.cs
- QuaternionAnimation.cs
- RTLAwareMessageBox.cs
- RelOps.cs
- DetailsViewUpdatedEventArgs.cs
- XmlIgnoreAttribute.cs
- IdentityReference.cs
- _HeaderInfoTable.cs
- RelatedView.cs
- EntityDesignerDataSourceView.cs
- Psha1DerivedKeyGenerator.cs
- CollectionViewGroup.cs
- ContainerParagraph.cs
- RecommendedAsConfigurableAttribute.cs
- SendMessageChannelCache.cs
- DatatypeImplementation.cs
- LinkConverter.cs
- DetailsView.cs
- BaseWebProxyFinder.cs
- DataTableTypeConverter.cs
- DeleteIndexBinder.cs
- HttpRequest.cs
- Interop.cs
- AstNode.cs
- ReadOnlyMetadataCollection.cs
- ResourceExpressionEditor.cs
- ImageClickEventArgs.cs
- Menu.cs
- ExpressionEvaluator.cs
- AppSettingsExpressionBuilder.cs
- XmlSerializerNamespaces.cs
- OpenTypeCommon.cs
- FlowDocumentFormatter.cs
- RequestSecurityToken.cs
- ReadWriteObjectLock.cs
- OptimisticConcurrencyException.cs
- EntityDataSourceStatementEditor.cs