Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / EmissiveMaterial.cs / 1305600 / EmissiveMaterial.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D emissive 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 { ////// EmissiveMaterial allows a 2d brush to be used on a 3d model that has been lit /// as if it were emitting light equal to the color of the brush /// public sealed partial class EmissiveMaterial : Material { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a EmissiveMaterial /// public EmissiveMaterial() { } ////// Constructor that sets the Brush property to "brush" /// /// The new material's brush public EmissiveMaterial(Brush brush) { Brush = brush; } #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 emissive 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 { ////// EmissiveMaterial allows a 2d brush to be used on a 3d model that has been lit /// as if it were emitting light equal to the color of the brush /// public sealed partial class EmissiveMaterial : Material { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a EmissiveMaterial /// public EmissiveMaterial() { } ////// Constructor that sets the Brush property to "brush" /// /// The new material's brush public EmissiveMaterial(Brush brush) { Brush = brush; } #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
- DataSourceConverter.cs
- ExpressionBindingCollection.cs
- Properties.cs
- MemoryRecordBuffer.cs
- cryptoapiTransform.cs
- StackOverflowException.cs
- IList.cs
- LicFileLicenseProvider.cs
- FieldBuilder.cs
- ControlPaint.cs
- contentDescriptor.cs
- XmlObjectSerializerReadContextComplexJson.cs
- WebBaseEventKeyComparer.cs
- BackStopAuthenticationModule.cs
- WebControl.cs
- EntityException.cs
- CloudCollection.cs
- Constants.cs
- MethodImplAttribute.cs
- TimeSpanSecondsConverter.cs
- CryptoProvider.cs
- DoubleUtil.cs
- ImageFormatConverter.cs
- DynamicMethod.cs
- entitydatasourceentitysetnameconverter.cs
- SoapSchemaExporter.cs
- ObjectDataSourceDesigner.cs
- TableRowCollection.cs
- SafeArrayRankMismatchException.cs
- TripleDESCryptoServiceProvider.cs
- EventLog.cs
- TrackBarDesigner.cs
- CollectionViewProxy.cs
- Point3DAnimationBase.cs
- ValueUtilsSmi.cs
- CodeTypeConstructor.cs
- ComponentRenameEvent.cs
- XmlSerializerSection.cs
- Int32Rect.cs
- DataGridTextBoxColumn.cs
- AliasGenerator.cs
- Evidence.cs
- InfoCardKeyedHashAlgorithm.cs
- LoaderAllocator.cs
- XmlParserContext.cs
- DataGridRelationshipRow.cs
- PropertyTabChangedEvent.cs
- PageScaling.cs
- EnumValidator.cs
- SecurityNegotiationException.cs
- XmlSchemaDocumentation.cs
- ColorConverter.cs
- DbDataSourceEnumerator.cs
- FixedTextContainer.cs
- ByeOperationCD1AsyncResult.cs
- TcpAppDomainProtocolHandler.cs
- NodeFunctions.cs
- FocusManager.cs
- AttachedPropertyMethodSelector.cs
- MdiWindowListStrip.cs
- XmlTypeAttribute.cs
- RetrieveVirtualItemEventArgs.cs
- GridView.cs
- BaseDataBoundControlDesigner.cs
- coordinatorfactory.cs
- PkcsMisc.cs
- RoleManagerModule.cs
- OleDbConnectionFactory.cs
- DrawItemEvent.cs
- DataSetMappper.cs
- ScriptControl.cs
- CodeAssignStatement.cs
- DataGridViewSelectedCellCollection.cs
- RijndaelManagedTransform.cs
- XmlCharCheckingReader.cs
- ElementNotEnabledException.cs
- TreeNodeBindingCollection.cs
- SyndicationSerializer.cs
- OracleDataReader.cs
- WindowVisualStateTracker.cs
- VirtualPathUtility.cs
- MediaScriptCommandRoutedEventArgs.cs
- LinkAreaEditor.cs
- DiscoveryOperationContextExtension.cs
- MenuTracker.cs
- DynamicResourceExtensionConverter.cs
- HttpRequestCacheValidator.cs
- HeaderPanel.cs
- CodeDOMUtility.cs
- ListBox.cs
- SoapExtensionImporter.cs
- MeshGeometry3D.cs
- DataControlFieldHeaderCell.cs
- XmlSchemaAnyAttribute.cs
- NumericPagerField.cs
- DockPanel.cs
- TableLayoutStyleCollection.cs
- XmlSchemaComplexContentExtension.cs
- AutoCompleteStringCollection.cs
- MsiStyleLogWriter.cs