Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- VectorConverter.cs
- OrderedEnumerableRowCollection.cs
- AnimatedTypeHelpers.cs
- EntityDataSourceDesigner.cs
- WasNotInstalledException.cs
- TextDecorationLocationValidation.cs
- StaticFileHandler.cs
- BindingContext.cs
- WriteTimeStream.cs
- GridItem.cs
- XmlSerializer.cs
- Int32Storage.cs
- XmlTypeAttribute.cs
- BindingsCollection.cs
- X509ChainElement.cs
- DeploymentExceptionMapper.cs
- MeshGeometry3D.cs
- EntityProxyFactory.cs
- TreeNodeClickEventArgs.cs
- FunctionImportElement.cs
- ObjectSelectorEditor.cs
- GregorianCalendar.cs
- DeclarativeCatalogPart.cs
- SemaphoreFullException.cs
- ListViewItem.cs
- _ListenerAsyncResult.cs
- XamlPoint3DCollectionSerializer.cs
- BooleanToVisibilityConverter.cs
- WebPartCancelEventArgs.cs
- BrowserDefinitionCollection.cs
- Lazy.cs
- PropertyRef.cs
- FileClassifier.cs
- GeometryGroup.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- SmiConnection.cs
- StateValidator.cs
- ChangeBlockUndoRecord.cs
- xamlnodes.cs
- ChameleonKey.cs
- diagnosticsswitches.cs
- EncoderParameters.cs
- DataListDesigner.cs
- WebServiceBindingAttribute.cs
- FaultContractInfo.cs
- SQLResource.cs
- TextRunCache.cs
- Number.cs
- RegistrySecurity.cs
- ObjectSpanRewriter.cs
- DataTableCollection.cs
- SQLDateTimeStorage.cs
- StylusPointPropertyId.cs
- SystemEvents.cs
- SiteMapNodeItem.cs
- NumberAction.cs
- BitHelper.cs
- UITypeEditor.cs
- ContentHostHelper.cs
- DataTemplateSelector.cs
- HighContrastHelper.cs
- XslException.cs
- DataGridViewCheckBoxColumn.cs
- GifBitmapDecoder.cs
- FileLevelControlBuilderAttribute.cs
- DateTimePicker.cs
- FtpCachePolicyElement.cs
- DbParameterCollectionHelper.cs
- RightsManagementSuppressedStream.cs
- ServiceModelReg.cs
- Mappings.cs
- PropertyCondition.cs
- ListControl.cs
- InvokePattern.cs
- BaseDataBoundControl.cs
- arabicshape.cs
- IdentityHolder.cs
- DisposableCollectionWrapper.cs
- SoapObjectReader.cs
- UmAlQuraCalendar.cs
- WorkflowClientDeliverMessageWrapper.cs
- CacheForPrimitiveTypes.cs
- BuildManagerHost.cs
- SerialPinChanges.cs
- MatrixAnimationUsingKeyFrames.cs
- UniqueIdentifierService.cs
- FSWPathEditor.cs
- AdobeCFFWrapper.cs
- TransformGroup.cs
- PerfCounterSection.cs
- SamlEvidence.cs
- Deserializer.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- EdmItemCollection.cs
- _NTAuthentication.cs
- HandlerMappingMemo.cs
- CryptoHandle.cs
- shaperfactory.cs
- TextTreeDeleteContentUndoUnit.cs
- SoapHeaders.cs