Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- AssemblySettingAttributes.cs
- FormatterServices.cs
- PageCatalogPartDesigner.cs
- SignatureConfirmationElement.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- ExternalException.cs
- TextFormatterHost.cs
- TextViewElement.cs
- CustomAttributeSerializer.cs
- AcceleratedTokenProvider.cs
- OrderedEnumerableRowCollection.cs
- ScrollContentPresenter.cs
- TableLayoutPanel.cs
- AssemblyNameProxy.cs
- _TransmitFileOverlappedAsyncResult.cs
- UiaCoreProviderApi.cs
- Model3D.cs
- ActiveXHelper.cs
- DataServiceProviderWrapper.cs
- DragDrop.cs
- Unit.cs
- Event.cs
- TiffBitmapEncoder.cs
- EventlogProvider.cs
- DataGridViewCellMouseEventArgs.cs
- XmlAttributeAttribute.cs
- WebPartsSection.cs
- DefaultBinder.cs
- HtmlTableCell.cs
- RegexCompilationInfo.cs
- X509SubjectKeyIdentifierClause.cs
- Int32RectValueSerializer.cs
- ChangeInterceptorAttribute.cs
- HttpFormatExtensions.cs
- SchemaNamespaceManager.cs
- CompilerState.cs
- Int16KeyFrameCollection.cs
- NavigatorInput.cs
- OleDbCommandBuilder.cs
- ProjectionPlan.cs
- LookupBindingPropertiesAttribute.cs
- SystemIcmpV6Statistics.cs
- XmlSchemaChoice.cs
- Relationship.cs
- DataViewListener.cs
- SspiNegotiationTokenProviderState.cs
- MenuItemStyle.cs
- TerminateDesigner.cs
- AutoGeneratedFieldProperties.cs
- RtfControls.cs
- SingleSelectRootGridEntry.cs
- VariableExpressionConverter.cs
- HtmlTableCell.cs
- EventLogTraceListener.cs
- ListViewDeletedEventArgs.cs
- MenuItemStyle.cs
- WSHttpBindingBase.cs
- CatalogZone.cs
- GridItemCollection.cs
- DataComponentMethodGenerator.cs
- SafeTimerHandle.cs
- ElementAction.cs
- BufferedResponseStream.cs
- StylusPointPropertyId.cs
- ServiceModelActivity.cs
- CheckBoxPopupAdapter.cs
- ActivityMetadata.cs
- WebPartsPersonalizationAuthorization.cs
- ToolStripLocationCancelEventArgs.cs
- DataGridViewRowConverter.cs
- DesignSurfaceEvent.cs
- CodeAttachEventStatement.cs
- BinaryOperationBinder.cs
- SyndicationItem.cs
- Encoding.cs
- PageSettings.cs
- RequestValidator.cs
- RoleGroup.cs
- ClientTarget.cs
- SignatureDescription.cs
- ImpersonateTokenRef.cs
- TypeSystem.cs
- ExtenderProviderService.cs
- HtmlInputImage.cs
- RestHandler.cs
- BindingContext.cs
- MessageQueuePermissionEntryCollection.cs
- SourceFileBuildProvider.cs
- Duration.cs
- PropertyPushdownHelper.cs
- XmlRootAttribute.cs
- ResourceReader.cs
- SectionInput.cs
- LoginUtil.cs
- CodeCompiler.cs
- InvalidDataException.cs
- FileDialog_Vista.cs
- CodeIdentifiers.cs
- FlowDocumentView.cs
- WebPartsPersonalizationAuthorization.cs