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
- RelationshipDetailsCollection.cs
- SqlRecordBuffer.cs
- BufferManager.cs
- ToolStripItemBehavior.cs
- XmlSchemaExternal.cs
- Rotation3D.cs
- ServicePointManager.cs
- ButtonBase.cs
- WorkerRequest.cs
- FileVersionInfo.cs
- _KerberosClient.cs
- RangeBaseAutomationPeer.cs
- AvTraceDetails.cs
- OdbcPermission.cs
- AstNode.cs
- ProtocolProfile.cs
- HtmlTernaryTree.cs
- X509Extension.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- RegistryPermission.cs
- AppDomainFactory.cs
- ConnectionManagementElementCollection.cs
- VirtualDirectoryMapping.cs
- InstanceDataCollection.cs
- SequenceQuery.cs
- ConstNode.cs
- XmlConvert.cs
- TablePattern.cs
- ServicePointManager.cs
- TreeBuilder.cs
- GroupDescription.cs
- WizardPanel.cs
- EntityDataSourceUtil.cs
- FixedNode.cs
- StatusBarDrawItemEvent.cs
- XmlSchemaChoice.cs
- ValidateNames.cs
- SQLMoney.cs
- UTF8Encoding.cs
- ResourceReferenceKeyNotFoundException.cs
- ThicknessAnimationUsingKeyFrames.cs
- OrderByQueryOptionExpression.cs
- BrowserCapabilitiesFactoryBase.cs
- PropertyPathConverter.cs
- Expressions.cs
- HttpModuleCollection.cs
- TimeSpanValidator.cs
- ProfileSection.cs
- HttpRuntime.cs
- WebEncodingValidatorAttribute.cs
- UpdateProgress.cs
- CodeParameterDeclarationExpression.cs
- NullableDoubleSumAggregationOperator.cs
- EntryWrittenEventArgs.cs
- SqlInfoMessageEvent.cs
- StylusPoint.cs
- ElementUtil.cs
- PropertyIdentifier.cs
- Context.cs
- VirtualDirectoryMapping.cs
- SelectedDatesCollection.cs
- HttpHeaderCollection.cs
- XmlSchema.cs
- RuleSettings.cs
- SqlDataSourceCommandEventArgs.cs
- FileVersion.cs
- LightweightEntityWrapper.cs
- ParameterSubsegment.cs
- ProfilePropertySettingsCollection.cs
- PointHitTestParameters.cs
- InfocardChannelParameter.cs
- HwndSourceKeyboardInputSite.cs
- CodeDirectiveCollection.cs
- ProxyWebPartConnectionCollection.cs
- QilFunction.cs
- filewebrequest.cs
- XNodeSchemaApplier.cs
- ContentTextAutomationPeer.cs
- ReliabilityContractAttribute.cs
- LayoutEngine.cs
- ByteFacetDescriptionElement.cs
- RawKeyboardInputReport.cs
- FormatException.cs
- IPAddressCollection.cs
- DesignBindingValueUIHandler.cs
- KeyProperty.cs
- PrintPreviewControl.cs
- ListCollectionView.cs
- RoutedEvent.cs
- DbConnectionPoolIdentity.cs
- PersistenceIOParticipant.cs
- PermissionToken.cs
- CodeTypeParameter.cs
- ConfigurationFileMap.cs
- SymLanguageVendor.cs
- DynamicPropertyReader.cs
- HeaderCollection.cs
- Polyline.cs
- WindowsRichEdit.cs
- SecurityUtils.cs