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
- IndicCharClassifier.cs
- HashFinalRequest.cs
- PageScaling.cs
- FlowDocumentReaderAutomationPeer.cs
- PageFunction.cs
- MemoryMappedView.cs
- AvTrace.cs
- OdbcConnectionOpen.cs
- MemoryFailPoint.cs
- SqlCachedBuffer.cs
- AttributeCollection.cs
- ChannelBase.cs
- RoleServiceManager.cs
- XmlBindingWorker.cs
- AmbientProperties.cs
- CodeDomSerializer.cs
- BitmapCodecInfoInternal.cs
- XmlnsDictionary.cs
- StylusPointProperties.cs
- HostedElements.cs
- RuntimeIdentifierPropertyAttribute.cs
- FtpRequestCacheValidator.cs
- AppDomainUnloadedException.cs
- RemotingConfigParser.cs
- RectangleConverter.cs
- CodeConditionStatement.cs
- PkcsMisc.cs
- AutomationAttributeInfo.cs
- OutputCacheModule.cs
- XmlNamespaceMappingCollection.cs
- QueryInterceptorAttribute.cs
- StringWriter.cs
- MinimizableAttributeTypeConverter.cs
- WindowsFormsHelpers.cs
- TableStyle.cs
- CompiledQueryCacheEntry.cs
- DataServiceContext.cs
- CompositionAdorner.cs
- CompositeScriptReference.cs
- CodeDirectiveCollection.cs
- WindowsRebar.cs
- Registry.cs
- BrowserInteropHelper.cs
- SQlBooleanStorage.cs
- ReturnType.cs
- DrawingState.cs
- LocatorPartList.cs
- ControlIdConverter.cs
- FixedDSBuilder.cs
- Baml2006KnownTypes.cs
- XPathAncestorQuery.cs
- ActiveXHelper.cs
- ParameterElement.cs
- WebPartActionVerb.cs
- PropertyValueUIItem.cs
- TextEffectCollection.cs
- AutoGeneratedField.cs
- XPathDocumentNavigator.cs
- EncryptedPackageFilter.cs
- SafeLocalAllocation.cs
- PassportAuthenticationModule.cs
- EnumerableRowCollection.cs
- ExtentCqlBlock.cs
- StringReader.cs
- DbgCompiler.cs
- XPathNodeHelper.cs
- PreservationFileWriter.cs
- ExpressionBuilder.cs
- Grant.cs
- AutoResetEvent.cs
- SmiMetaData.cs
- XmlEnumAttribute.cs
- CompressEmulationStream.cs
- ReflectionUtil.cs
- XsltQilFactory.cs
- ObjectDataSourceMethodEditor.cs
- FeatureSupport.cs
- WebBrowser.cs
- HttpApplicationFactory.cs
- CapacityStreamGeometryContext.cs
- SecurityMode.cs
- SourceInterpreter.cs
- BindingsCollection.cs
- PackageFilter.cs
- XhtmlCssHandler.cs
- ConnectionsZone.cs
- DrawingAttributeSerializer.cs
- DataBoundControlHelper.cs
- DropDownButton.cs
- Journaling.cs
- TextShapeableCharacters.cs
- DataSourceView.cs
- util.cs
- BypassElement.cs
- ListControlBoundActionList.cs
- DocumentReferenceCollection.cs
- DataKeyCollection.cs
- DataSourceHelper.cs
- CustomError.cs
- SafePointer.cs