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
- ControlParameter.cs
- TextFormatterHost.cs
- CollectionCodeDomSerializer.cs
- FactoryGenerator.cs
- ITextView.cs
- IPGlobalProperties.cs
- Keywords.cs
- RawAppCommandInputReport.cs
- ArrayElementGridEntry.cs
- VirtualizedContainerService.cs
- SQLBinaryStorage.cs
- ConnectionManagementSection.cs
- XmlSchemaParticle.cs
- ClientCredentials.cs
- LogStream.cs
- Sentence.cs
- DiscoveryUtility.cs
- AlignmentYValidation.cs
- ThumbAutomationPeer.cs
- Vector3DConverter.cs
- SupportingTokenSecurityTokenResolver.cs
- MissingMemberException.cs
- NameTable.cs
- DataException.cs
- SqlDataSourceCommandParser.cs
- TrustManager.cs
- TCPListener.cs
- Documentation.cs
- CodeNamespaceCollection.cs
- Utils.cs
- SystemColorTracker.cs
- VisualProxy.cs
- TabItemWrapperAutomationPeer.cs
- ChangeProcessor.cs
- SplitterCancelEvent.cs
- StylusDevice.cs
- SqlBuilder.cs
- RsaSecurityKey.cs
- ResourceDescriptionAttribute.cs
- PersistenceContextEnlistment.cs
- DesignerVerbCollection.cs
- FileLoadException.cs
- OleDbErrorCollection.cs
- DataGridViewCellCancelEventArgs.cs
- BitmapScalingModeValidation.cs
- CharAnimationBase.cs
- NotificationContext.cs
- SapiGrammar.cs
- AspNetSynchronizationContext.cs
- EdmSchemaError.cs
- CommonGetThemePartSize.cs
- BasicExpressionVisitor.cs
- TraceUtils.cs
- OdbcEnvironmentHandle.cs
- DataGridViewRowPrePaintEventArgs.cs
- RSAOAEPKeyExchangeFormatter.cs
- KnownTypesHelper.cs
- ProfileSection.cs
- DbConnectionPoolGroup.cs
- DocobjHost.cs
- DeviceContext.cs
- BooleanAnimationBase.cs
- ImageAnimator.cs
- TextTreeExtractElementUndoUnit.cs
- ParserExtension.cs
- DrawingImage.cs
- EpmCustomContentDeSerializer.cs
- OleStrCAMarshaler.cs
- InvokeSchedule.cs
- StreamAsIStream.cs
- FontFaceLayoutInfo.cs
- HtmlTableCellCollection.cs
- SortDescriptionCollection.cs
- WindowsToolbar.cs
- SqlUserDefinedAggregateAttribute.cs
- ConfigXmlCDataSection.cs
- BitmapEffectState.cs
- OrCondition.cs
- SchemaMerger.cs
- RequestDescription.cs
- DelayedRegex.cs
- RegexCode.cs
- DataControlButton.cs
- RegexBoyerMoore.cs
- CodeConditionStatement.cs
- PrintController.cs
- SQLSingleStorage.cs
- StackSpiller.Temps.cs
- DoubleStorage.cs
- FixUpCollection.cs
- SafeArchiveContext.cs
- LightweightCodeGenerator.cs
- HttpRuntimeSection.cs
- DataPagerField.cs
- VsPropertyGrid.cs
- DesignerActionGlyph.cs
- TextBox.cs
- GradientStop.cs
- DrawingServices.cs
- SmtpFailedRecipientsException.cs