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
- ControlType.cs
- NamespaceQuery.cs
- SoapTransportImporter.cs
- ReachPageContentSerializer.cs
- SymbolMethod.cs
- Point3DValueSerializer.cs
- CommentEmitter.cs
- MembershipPasswordException.cs
- SQLInt16Storage.cs
- DataExpression.cs
- RowToParametersTransformer.cs
- Label.cs
- OLEDB_Enum.cs
- RequestNavigateEventArgs.cs
- IntegerFacetDescriptionElement.cs
- SystemResources.cs
- PreProcessor.cs
- DesignerContextDescriptor.cs
- RegexInterpreter.cs
- DataGridViewUtilities.cs
- EntityContainerAssociationSetEnd.cs
- JsonSerializer.cs
- DllNotFoundException.cs
- SpeechAudioFormatInfo.cs
- KeyNotFoundException.cs
- HiddenField.cs
- ExpressionParser.cs
- TypeHelper.cs
- HtmlGenericControl.cs
- TextSelectionProcessor.cs
- SafeTimerHandle.cs
- ClientSettingsSection.cs
- EntityTypeEmitter.cs
- Latin1Encoding.cs
- EntityDataSourceSelectedEventArgs.cs
- DataKeyCollection.cs
- ListViewDataItem.cs
- DataGridPagingPage.cs
- StoreItemCollection.Loader.cs
- ValidationManager.cs
- WrappedKeySecurityToken.cs
- ArithmeticException.cs
- ArgumentException.cs
- InstanceDescriptor.cs
- WebChannelFactory.cs
- Canvas.cs
- ExtendedPropertyDescriptor.cs
- ParameterEditorUserControl.cs
- FontCacheUtil.cs
- CapabilitiesRule.cs
- CalendarTable.cs
- PrintDocument.cs
- HttpResponseWrapper.cs
- Vector3D.cs
- IpcChannel.cs
- DoubleCollectionConverter.cs
- UnsafeNativeMethods.cs
- PasswordTextContainer.cs
- CacheSection.cs
- DataGridSortingEventArgs.cs
- NameValueConfigurationElement.cs
- LifetimeServices.cs
- CryptoApi.cs
- UnmanagedHandle.cs
- StatusBarPanel.cs
- COMException.cs
- StringValidatorAttribute.cs
- SubqueryRules.cs
- ObjectComplexPropertyMapping.cs
- FormView.cs
- BrowserCapabilitiesFactoryBase.cs
- CodePageEncoding.cs
- Dump.cs
- Win32PrintDialog.cs
- ComponentRenameEvent.cs
- AdornerDecorator.cs
- DependencyObject.cs
- ToggleProviderWrapper.cs
- WebRequestModuleElement.cs
- HMAC.cs
- Renderer.cs
- BuilderPropertyEntry.cs
- DecoderBestFitFallback.cs
- UnsafeNativeMethods.cs
- Compiler.cs
- MemberJoinTreeNode.cs
- DefaultCompensation.cs
- PropertyChangedEventManager.cs
- EntitySqlQueryCacheKey.cs
- KernelTypeValidation.cs
- TypedReference.cs
- OracleTimeSpan.cs
- AspCompat.cs
- MetaTable.cs
- RelationshipManager.cs
- ControlPaint.cs
- Memoizer.cs
- RelationshipFixer.cs
- CallbackHandler.cs
- Util.cs