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
- ValidationRuleCollection.cs
- Set.cs
- HtmlControl.cs
- InvalidPrinterException.cs
- ExpanderAutomationPeer.cs
- PointAnimation.cs
- VariableBinder.cs
- QilBinary.cs
- ImageMapEventArgs.cs
- TableLayoutPanelBehavior.cs
- MetadataHelper.cs
- TableAutomationPeer.cs
- BrowserCapabilitiesCompiler.cs
- ToolStripItemClickedEventArgs.cs
- CatalogZoneBase.cs
- XamlReaderHelper.cs
- DiscoveryVersionConverter.cs
- GuidConverter.cs
- HttpServerUtilityWrapper.cs
- SoapIgnoreAttribute.cs
- ToolStripPanelSelectionBehavior.cs
- OSEnvironmentHelper.cs
- CorrelationTokenInvalidatedHandler.cs
- DbModificationCommandTree.cs
- SQLBytes.cs
- ResourcePermissionBaseEntry.cs
- RegexNode.cs
- _SslStream.cs
- ObservableDictionary.cs
- CalendarDay.cs
- bidPrivateBase.cs
- columnmapfactory.cs
- SessionEndingEventArgs.cs
- ConfigurationValue.cs
- DodSequenceMerge.cs
- XmlHierarchicalDataSourceView.cs
- CollectionsUtil.cs
- ellipse.cs
- ChangePassword.cs
- SapiAttributeParser.cs
- NavigateEvent.cs
- EdmRelationshipRoleAttribute.cs
- HealthMonitoringSectionHelper.cs
- Comparer.cs
- MailBnfHelper.cs
- Number.cs
- OlePropertyStructs.cs
- EmissiveMaterial.cs
- SqlAliaser.cs
- MaterialCollection.cs
- OleDbConnectionInternal.cs
- PartitionedStreamMerger.cs
- PlatformCulture.cs
- Button.cs
- XmlDataCollection.cs
- EdmError.cs
- SafeCertificateContext.cs
- UnicodeEncoding.cs
- FlagsAttribute.cs
- SkewTransform.cs
- RemotingServices.cs
- InputProcessorProfiles.cs
- InfoCardTraceRecord.cs
- State.cs
- InvokeHandlers.cs
- Match.cs
- Padding.cs
- FixedFindEngine.cs
- CompilerParameters.cs
- SkewTransform.cs
- CallContext.cs
- Pair.cs
- MachineKeySection.cs
- PropertyGeneratedEventArgs.cs
- MaxSessionCountExceededException.cs
- AuthenticationService.cs
- QueueNameHelper.cs
- OrthographicCamera.cs
- WebPartUserCapability.cs
- DrawingBrush.cs
- TreeNodeBindingDepthConverter.cs
- IndentedWriter.cs
- RenderDataDrawingContext.cs
- BamlVersionHeader.cs
- EmissiveMaterial.cs
- LinqDataSourceValidationException.cs
- ToolStripSeparatorRenderEventArgs.cs
- StringToken.cs
- AsyncResult.cs
- HostedAspNetEnvironment.cs
- _LoggingObject.cs
- ToolStripScrollButton.cs
- DynamicPropertyHolder.cs
- Substitution.cs
- DebuggerAttributes.cs
- CodeIndexerExpression.cs
- WebPartEventArgs.cs
- TraceListener.cs
- FrameworkContentElementAutomationPeer.cs
- DataGridAddNewRow.cs