Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1305600 / LinearQuaternionKeyFrame.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 LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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 LinearQuaternionKeyFrame : QuaternionKeyFrame { ////// UseShortestPath Property /// public static readonly DependencyProperty UseShortestPathProperty = DependencyProperty.Register( "UseShortestPath", typeof(bool), typeof(LinearQuaternionKeyFrame), 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
- UIServiceHelper.cs
- _FixedSizeReader.cs
- SByteConverter.cs
- HttpRawResponse.cs
- DiscoveryVersionConverter.cs
- BinaryConverter.cs
- HttpWriter.cs
- IssuedTokensHeader.cs
- Module.cs
- PropertyPath.cs
- FileDialogCustomPlace.cs
- DropSourceBehavior.cs
- MultiTouchSystemGestureLogic.cs
- BaseDataListDesigner.cs
- HashLookup.cs
- LowerCaseStringConverter.cs
- sqlstateclientmanager.cs
- _CacheStreams.cs
- DataGridCommandEventArgs.cs
- BlurEffect.cs
- XamlToRtfParser.cs
- NodeCounter.cs
- GridViewPageEventArgs.cs
- PropertyMapper.cs
- HideDisabledControlAdapter.cs
- FixUp.cs
- HostnameComparisonMode.cs
- TextPenaltyModule.cs
- StringFreezingAttribute.cs
- StringAttributeCollection.cs
- DependencyPropertyKey.cs
- LinearGradientBrush.cs
- DbInsertCommandTree.cs
- Classification.cs
- CultureMapper.cs
- HwndStylusInputProvider.cs
- SecureConversationServiceCredential.cs
- BindableAttribute.cs
- OperandQuery.cs
- DoubleAnimationBase.cs
- TimeStampChecker.cs
- SyncOperationState.cs
- ButtonRenderer.cs
- Trace.cs
- MailWebEventProvider.cs
- TemplateField.cs
- ScaleTransform3D.cs
- BooleanSwitch.cs
- basemetadatamappingvisitor.cs
- InputReportEventArgs.cs
- OutputScopeManager.cs
- EditCommandColumn.cs
- TextWriter.cs
- AsyncCompletedEventArgs.cs
- RadioButton.cs
- QilInvokeEarlyBound.cs
- Int32CAMarshaler.cs
- ControlValuePropertyAttribute.cs
- SHA1CryptoServiceProvider.cs
- TableItemPattern.cs
- TableCellAutomationPeer.cs
- ActiveXContainer.cs
- DrawingBrush.cs
- _CacheStreams.cs
- MsdtcWrapper.cs
- ThreadInterruptedException.cs
- UnsafeNativeMethods.cs
- LocatorBase.cs
- ConfigurationValue.cs
- UpdateCommand.cs
- ListBox.cs
- JapaneseCalendar.cs
- Root.cs
- OdbcHandle.cs
- CreateParams.cs
- Rule.cs
- PKCS1MaskGenerationMethod.cs
- TreeWalkHelper.cs
- DbSetClause.cs
- RepeaterItemEventArgs.cs
- ProgressBar.cs
- InvalidAsynchronousStateException.cs
- FrameworkTextComposition.cs
- RunInstallerAttribute.cs
- Vector.cs
- SocketAddress.cs
- Parser.cs
- RequestNavigateEventArgs.cs
- TextViewSelectionProcessor.cs
- AQNBuilder.cs
- HtmlInputFile.cs
- BaseTreeIterator.cs
- LineServicesRun.cs
- SaveFileDialog.cs
- ApplicationBuildProvider.cs
- OutOfProcStateClientManager.cs
- IOThreadTimer.cs
- DateTimeUtil.cs
- FullTextLine.cs
- Panel.cs