Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / DiffuseMaterial.cs / 1305600 / DiffuseMaterial.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D diffuse material // // See spec at *** FILL IN LATER *** // // History: // 06/25/2003 : t-gregr - Created // 01/28/2005 : [....] - Renamed BrushMaterial to DiffuseMaterial // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Markup; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using MS.Internal; namespace System.Windows.Media.Media3D { ////// DiffuseMaterial allows a 2d brush to be used on a 3d model that has been lit /// with a diffuse lighting model /// public sealed partial class DiffuseMaterial : Material { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a DiffuseMaterial /// public DiffuseMaterial() { } ////// Constructor that sets the Brush property to "brush" /// /// The new material's brush public DiffuseMaterial(Brush brush) { Brush = brush; } #endregion Constructors } } // 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. // // // // Description: 3D diffuse material // // See spec at *** FILL IN LATER *** // // History: // 06/25/2003 : t-gregr - Created // 01/28/2005 : [....] - Renamed BrushMaterial to DiffuseMaterial // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Markup; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using MS.Internal; namespace System.Windows.Media.Media3D { ////// DiffuseMaterial allows a 2d brush to be used on a 3d model that has been lit /// with a diffuse lighting model /// public sealed partial class DiffuseMaterial : Material { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a DiffuseMaterial /// public DiffuseMaterial() { } ////// Constructor that sets the Brush property to "brush" /// /// The new material's brush public DiffuseMaterial(Brush brush) { Brush = brush; } #endregion Constructors } } // 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
- DefaultAssemblyResolver.cs
- BezierSegment.cs
- WebPartZone.cs
- DelegatingTypeDescriptionProvider.cs
- MultiBindingExpression.cs
- InfoCardKeyedHashAlgorithm.cs
- BrushConverter.cs
- SingleSelectRootGridEntry.cs
- ListSortDescriptionCollection.cs
- Visual3D.cs
- odbcmetadatacolumnnames.cs
- TypeLoadException.cs
- AudioLevelUpdatedEventArgs.cs
- ParseChildrenAsPropertiesAttribute.cs
- XmlParser.cs
- LinqDataSourceStatusEventArgs.cs
- ObjectDesignerDataSourceView.cs
- TrackingLocationCollection.cs
- AnimationStorage.cs
- RectKeyFrameCollection.cs
- WmfPlaceableFileHeader.cs
- SortFieldComparer.cs
- ClientSession.cs
- Stack.cs
- EventListener.cs
- DebuggerAttributes.cs
- Single.cs
- ExtensionSimplifierMarkupObject.cs
- Rectangle.cs
- TypePropertyEditor.cs
- DecimalAnimation.cs
- LexicalChunk.cs
- ConstructorBuilder.cs
- FixedSOMImage.cs
- SchemaTableOptionalColumn.cs
- GroupQuery.cs
- SqlUtil.cs
- ProcessHostServerConfig.cs
- NativeMethods.cs
- EntityContainerEntitySetDefiningQuery.cs
- BinaryNode.cs
- SinglePageViewer.cs
- RangeValidator.cs
- HttpAsyncResult.cs
- BooleanFacetDescriptionElement.cs
- DataTemplateKey.cs
- CurrentTimeZone.cs
- GridPatternIdentifiers.cs
- SafeThemeHandle.cs
- Module.cs
- WsatServiceCertificate.cs
- XmlEncodedRawTextWriter.cs
- ListViewPagedDataSource.cs
- Queue.cs
- _AuthenticationState.cs
- SqlCrossApplyToCrossJoin.cs
- UnsafeNativeMethods.cs
- BehaviorService.cs
- SqlOuterApplyReducer.cs
- QilReference.cs
- StringSorter.cs
- XmlSerializerSection.cs
- TextTreeTextBlock.cs
- InlineObject.cs
- MultilineStringConverter.cs
- ListBoxItemWrapperAutomationPeer.cs
- FileRecordSequenceHelper.cs
- BinaryExpression.cs
- LayoutExceptionEventArgs.cs
- CurrentChangingEventManager.cs
- FlatButtonAppearance.cs
- CopyOnWriteList.cs
- ObjectKeyFrameCollection.cs
- ScopelessEnumAttribute.cs
- SurrogateEncoder.cs
- ClientSponsor.cs
- Quack.cs
- PreviewKeyDownEventArgs.cs
- BaseTypeViewSchema.cs
- XamlFilter.cs
- CollectionViewProxy.cs
- EntityContainerEmitter.cs
- RotateTransform.cs
- nulltextnavigator.cs
- SingleAnimation.cs
- CodeGroup.cs
- SecondaryIndexList.cs
- TreeViewHitTestInfo.cs
- WinFormsComponentEditor.cs
- CreateInstanceBinder.cs
- MILUtilities.cs
- DataGridViewRowCancelEventArgs.cs
- DispatcherSynchronizationContext.cs
- Schema.cs
- DoubleKeyFrameCollection.cs
- Inflater.cs
- TypeReference.cs
- FileDialogCustomPlace.cs
- QilList.cs
- MatrixAnimationUsingPath.cs