Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / Animation / LinearQuaternionKeyFrame.cs / 1 / 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
- Metadata.cs
- PropertyInformationCollection.cs
- StagingAreaInputItem.cs
- FixedPageProcessor.cs
- ArrayTypeMismatchException.cs
- ObjectContext.cs
- ServiceDescription.cs
- SafeNativeMemoryHandle.cs
- NegatedCellConstant.cs
- EdmFunction.cs
- FontFamilyConverter.cs
- EdmRelationshipRoleAttribute.cs
- Window.cs
- SQLDouble.cs
- Form.cs
- VectorValueSerializer.cs
- XsltConvert.cs
- ProfileServiceManager.cs
- ProcessThreadCollection.cs
- TraceSwitch.cs
- AjaxFrameworkAssemblyAttribute.cs
- ReadWriteSpinLock.cs
- SecurityTokenRequirement.cs
- TransformerInfoCollection.cs
- CommandField.cs
- DBCSCodePageEncoding.cs
- Polyline.cs
- OleDbParameter.cs
- SecurityTokenParameters.cs
- SettingsPropertyCollection.cs
- DataControlFieldCell.cs
- ConnectionConsumerAttribute.cs
- FigureParagraph.cs
- PageEventArgs.cs
- TrackingConditionCollection.cs
- TextWriter.cs
- ListSortDescription.cs
- ReceiveActivity.cs
- MdiWindowListItemConverter.cs
- DbProviderManifest.cs
- EntityDataSourceEntityTypeFilterItem.cs
- TransformGroup.cs
- ExtensionDataReader.cs
- TextPointer.cs
- DbConnectionPoolCounters.cs
- WriteableBitmap.cs
- _ConnectionGroup.cs
- CharUnicodeInfo.cs
- ClipboardData.cs
- WmfPlaceableFileHeader.cs
- AttachedPropertyDescriptor.cs
- DesignerActionKeyboardBehavior.cs
- TreeNodeCollectionEditor.cs
- CompositeTypefaceMetrics.cs
- PackUriHelper.cs
- DataGridViewCellLinkedList.cs
- XmlNamespaceDeclarationsAttribute.cs
- RestHandlerFactory.cs
- ToolStripDropDownClosingEventArgs.cs
- SessionStateContainer.cs
- DbSetClause.cs
- SrgsElementFactory.cs
- StateDesigner.Helpers.cs
- MemberInfoSerializationHolder.cs
- Animatable.cs
- DataControlFieldCell.cs
- Vector3DCollection.cs
- basecomparevalidator.cs
- ModelPropertyDescriptor.cs
- DeflateEmulationStream.cs
- HMACMD5.cs
- PropertyChangedEventArgs.cs
- CustomPopupPlacement.cs
- RuleInfoComparer.cs
- OptimalBreakSession.cs
- PngBitmapDecoder.cs
- BuilderPropertyEntry.cs
- CounterSampleCalculator.cs
- HttpCapabilitiesSectionHandler.cs
- WorkflowApplicationAbortedEventArgs.cs
- Tablet.cs
- ContextProperty.cs
- CubicEase.cs
- SqlWebEventProvider.cs
- LocalizabilityAttribute.cs
- HiddenFieldPageStatePersister.cs
- FrameworkElementAutomationPeer.cs
- CommonEndpointBehaviorElement.cs
- SafeReadContext.cs
- FixUpCollection.cs
- UDPClient.cs
- UpdateEventArgs.cs
- CodeVariableDeclarationStatement.cs
- WhitespaceRuleLookup.cs
- JsonStringDataContract.cs
- Stroke.cs
- EtwTrace.cs
- PrivateFontCollection.cs
- OperationAbortedException.cs
- PrinterSettings.cs