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
- CheckBoxFlatAdapter.cs
- SchemaImporterExtensionElementCollection.cs
- DataGridDesigner.cs
- PromptBuilder.cs
- XmlSchemaComplexContent.cs
- EventWaitHandle.cs
- CapabilitiesState.cs
- followingsibling.cs
- QueueSurrogate.cs
- UpDownBase.cs
- RtfToXamlLexer.cs
- DataTablePropertyDescriptor.cs
- UserInitiatedRoutedEventPermission.cs
- StrongNameUtility.cs
- BuildProvider.cs
- IsolationInterop.cs
- SqlBuilder.cs
- __Filters.cs
- XsltQilFactory.cs
- HttpModuleCollection.cs
- WinFormsUtils.cs
- EndpointAddressMessageFilterTable.cs
- WebPartRestoreVerb.cs
- ScheduleChanges.cs
- SqlFunctions.cs
- MobileUserControl.cs
- ControlCodeDomSerializer.cs
- DnsPermission.cs
- FixedPageAutomationPeer.cs
- EnumUnknown.cs
- RegexCode.cs
- XmlName.cs
- _IPv4Address.cs
- TrackingProfileDeserializationException.cs
- WindowsFormsSynchronizationContext.cs
- InteropAutomationProvider.cs
- BindingMemberInfo.cs
- MulticastOption.cs
- BaseAppDomainProtocolHandler.cs
- InternalConfigConfigurationFactory.cs
- DocumentSequenceHighlightLayer.cs
- ClassicBorderDecorator.cs
- VBIdentifierTrimConverter.cs
- MappingItemCollection.cs
- TypedAsyncResult.cs
- MarshalByRefObject.cs
- CodeDomConfigurationHandler.cs
- DataListGeneralPage.cs
- EpmContentSerializer.cs
- XmlILConstructAnalyzer.cs
- SystemDiagnosticsSection.cs
- SqlCommandBuilder.cs
- IFlowDocumentViewer.cs
- SQLByte.cs
- PackWebRequestFactory.cs
- SingleStorage.cs
- XmlNullResolver.cs
- InkCanvasSelection.cs
- AppendHelper.cs
- DataGrid.cs
- ThreadPoolTaskScheduler.cs
- QuotaThrottle.cs
- SHA256.cs
- MatcherBuilder.cs
- FixedPosition.cs
- StandardCommands.cs
- SqlDataSourceSelectingEventArgs.cs
- ObjectListDataBindEventArgs.cs
- StrongName.cs
- Polygon.cs
- XmlCompatibilityReader.cs
- ToolTipAutomationPeer.cs
- CharKeyFrameCollection.cs
- WSHttpBinding.cs
- FormsAuthenticationModule.cs
- IPGlobalProperties.cs
- UrlMappingCollection.cs
- GridItem.cs
- BufferedConnection.cs
- SamlNameIdentifierClaimResource.cs
- SQLBinaryStorage.cs
- AudienceUriMode.cs
- TypeContext.cs
- PolicyException.cs
- VectorKeyFrameCollection.cs
- HttpVersion.cs
- FileLoadException.cs
- _CacheStreams.cs
- HideDisabledControlAdapter.cs
- SafeProcessHandle.cs
- AnimationClock.cs
- ConfigurationSettings.cs
- SBCSCodePageEncoding.cs
- XhtmlBasicControlAdapter.cs
- SqlServer2KCompatibilityAnnotation.cs
- FontStretchConverter.cs
- XslAst.cs
- AuthenticationException.cs
- MergePropertyDescriptor.cs
- ExpressionBindingCollection.cs