Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / SpecularMaterial.cs / 1305600 / SpecularMaterial.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D specular material // // See spec at *** FILL IN LATER *** // //--------------------------------------------------------------------------- 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 { ////// SpecularMaterial allows a 2d brush to be used on a 3d model that has been lit /// with a specular lighting model /// public sealed partial class SpecularMaterial : Material { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a SpecularMaterial /// public SpecularMaterial() { } ////// Constructor that sets the initial values /// /// The new material's brush /// The specular exponent. public SpecularMaterial(Brush brush, double specularPower) { Brush = brush; SpecularPower = specularPower; } #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 specular material // // See spec at *** FILL IN LATER *** // //--------------------------------------------------------------------------- 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 { ////// SpecularMaterial allows a 2d brush to be used on a 3d model that has been lit /// with a specular lighting model /// public sealed partial class SpecularMaterial : Material { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a SpecularMaterial /// public SpecularMaterial() { } ////// Constructor that sets the initial values /// /// The new material's brush /// The specular exponent. public SpecularMaterial(Brush brush, double specularPower) { Brush = brush; SpecularPower = specularPower; } #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
- WebBrowserNavigatedEventHandler.cs
- DataSysAttribute.cs
- ResourceAssociationType.cs
- DesignTimeTemplateParser.cs
- DiagnosticEventProvider.cs
- LinqDataSourceUpdateEventArgs.cs
- XmlSiteMapProvider.cs
- PrivacyNoticeBindingElement.cs
- ColumnHeader.cs
- Globals.cs
- TimeoutValidationAttribute.cs
- WriteableBitmap.cs
- MetadataSerializer.cs
- QueryComponents.cs
- CultureInfo.cs
- AssemblyCache.cs
- FirstMatchCodeGroup.cs
- PropertyEntry.cs
- WizardStepBase.cs
- BrowserDefinitionCollection.cs
- TransformedBitmap.cs
- SecUtil.cs
- BulletChrome.cs
- ResourcesBuildProvider.cs
- WindowsListViewGroupSubsetLink.cs
- PolicyLevel.cs
- GridViewDeletedEventArgs.cs
- formatter.cs
- ToolStripItemRenderEventArgs.cs
- ToolStripComboBox.cs
- WebBaseEventKeyComparer.cs
- LogWriteRestartAreaState.cs
- SessionState.cs
- ILGenerator.cs
- contentDescriptor.cs
- BaseProcessor.cs
- ConsumerConnectionPoint.cs
- TimersDescriptionAttribute.cs
- XmlNodeChangedEventArgs.cs
- EncryptedData.cs
- oledbmetadatacollectionnames.cs
- ProcessHost.cs
- HMACRIPEMD160.cs
- Int32Animation.cs
- ListViewUpdateEventArgs.cs
- TextDecorations.cs
- CompositeFontInfo.cs
- EventLogPermissionHolder.cs
- TablePatternIdentifiers.cs
- ComponentCommands.cs
- ViewEvent.cs
- ConstraintCollection.cs
- WebPartManager.cs
- TcpPortSharing.cs
- EdmTypeAttribute.cs
- GeneralTransform3DGroup.cs
- CustomAttributeBuilder.cs
- WebPartMenu.cs
- Propagator.ExtentPlaceholderCreator.cs
- ObjectDataSourceFilteringEventArgs.cs
- TreeNodeBindingCollection.cs
- PeerResolverSettings.cs
- SecurityTokenAuthenticator.cs
- BitmapEffect.cs
- FieldBuilder.cs
- Rfc2898DeriveBytes.cs
- Membership.cs
- ComAdminWrapper.cs
- Win32PrintDialog.cs
- TypeInfo.cs
- TypeUtils.cs
- WebPartManagerInternals.cs
- SharedTcpTransportManager.cs
- PrintPageEvent.cs
- WebFaultException.cs
- ExceptionValidationRule.cs
- HttpCacheVaryByContentEncodings.cs
- IsolatedStorage.cs
- WindowClosedEventArgs.cs
- RenderTargetBitmap.cs
- DataSourceXmlElementAttribute.cs
- FixedDocument.cs
- ProviderUtil.cs
- ArglessEventHandlerProxy.cs
- PublishLicense.cs
- MasterPageCodeDomTreeGenerator.cs
- SizeFConverter.cs
- SqlConnectionStringBuilder.cs
- BindingOperations.cs
- XmlStreamStore.cs
- RenamedEventArgs.cs
- RootBrowserWindowProxy.cs
- DesignerProperties.cs
- SqlWebEventProvider.cs
- CodeChecksumPragma.cs
- VirtualizedItemPattern.cs
- CategoryAttribute.cs
- ChangeProcessor.cs
- XmlAttributeCache.cs
- BrowsableAttribute.cs