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
- HttpProxyTransportBindingElement.cs
- MulticastIPAddressInformationCollection.cs
- TextEditorThreadLocalStore.cs
- InputReportEventArgs.cs
- EllipseGeometry.cs
- DoubleUtil.cs
- SQLUtility.cs
- ActivityTypeDesigner.xaml.cs
- WindowsGraphics2.cs
- Group.cs
- FieldBuilder.cs
- OneOfElement.cs
- TaskHelper.cs
- DrawToolTipEventArgs.cs
- SID.cs
- xsdvalidator.cs
- EpmAttributeNameBuilder.cs
- HttpMethodAttribute.cs
- QuerySetOp.cs
- Pen.cs
- Hyperlink.cs
- ComplusEndpointConfigContainer.cs
- SqlDataSourceCustomCommandPanel.cs
- FileSystemEventArgs.cs
- TextStore.cs
- DiscardableAttribute.cs
- AnnotationComponentChooser.cs
- ModelUtilities.cs
- HtmlEmptyTagControlBuilder.cs
- DataSetViewSchema.cs
- PLINQETWProvider.cs
- SecurityKeyType.cs
- AsyncPostBackErrorEventArgs.cs
- Normalizer.cs
- SinglePageViewer.cs
- DataServiceRequest.cs
- AbstractSvcMapFileLoader.cs
- MouseGestureConverter.cs
- ActiveXHelper.cs
- TraceSource.cs
- PageRequestManager.cs
- SetStoryboardSpeedRatio.cs
- CompositeClientFormatter.cs
- BitmapFrame.cs
- WebPartConnection.cs
- HMACMD5.cs
- XhtmlConformanceSection.cs
- TimerElapsedEvenArgs.cs
- Stack.cs
- RtfToken.cs
- DataBindingHandlerAttribute.cs
- shaper.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PrivacyNoticeElement.cs
- ChannelEndpointElementCollection.cs
- DebugHandleTracker.cs
- TokenBasedSet.cs
- PrtTicket_Public_Simple.cs
- XLinq.cs
- BaseValidatorDesigner.cs
- WriteFileContext.cs
- TrackingLocationCollection.cs
- Touch.cs
- FrameworkElementFactory.cs
- StreamGeometry.cs
- Rect.cs
- SiblingIterators.cs
- RegexMatch.cs
- OleAutBinder.cs
- QuadraticBezierSegment.cs
- SizeAnimationUsingKeyFrames.cs
- PhonemeEventArgs.cs
- Soap12ProtocolImporter.cs
- Component.cs
- SingleAnimationUsingKeyFrames.cs
- TypeReference.cs
- DiagnosticStrings.cs
- complextypematerializer.cs
- OutputWindow.cs
- SelectionProviderWrapper.cs
- QueryCursorEventArgs.cs
- ComboBoxDesigner.cs
- Freezable.cs
- DragDeltaEventArgs.cs
- ButtonBase.cs
- HtmlTitle.cs
- DocumentOrderComparer.cs
- WebPartManagerInternals.cs
- OrderedHashRepartitionStream.cs
- OracleLob.cs
- RegionIterator.cs
- WebPartCatalogAddVerb.cs
- JsonReader.cs
- SizeF.cs
- SHA512.cs
- Bezier.cs
- WindowsTitleBar.cs
- WebPartZoneBase.cs
- VideoDrawing.cs
- ResourceType.cs