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
- ProfileInfo.cs
- AddIn.cs
- UpdatePanelControlTrigger.cs
- OneToOneMappingSerializer.cs
- WebServiceData.cs
- CreatingCookieEventArgs.cs
- Message.cs
- MasterPage.cs
- X509SecurityTokenParameters.cs
- MetadataUtilsSmi.cs
- TypeToken.cs
- EntityContainerEmitter.cs
- ConsoleTraceListener.cs
- ToolStripItemCollection.cs
- DiscoveryProxy.cs
- FormatConvertedBitmap.cs
- FloaterBaseParaClient.cs
- Rect3D.cs
- MaskedTextProvider.cs
- DataBindingList.cs
- documentsequencetextcontainer.cs
- EntityKey.cs
- TimeSpanValidator.cs
- MultiByteCodec.cs
- WindowsEditBoxRange.cs
- NamedPipeConnectionPool.cs
- OutputScopeManager.cs
- IncrementalReadDecoders.cs
- ExpressionEditorAttribute.cs
- ServiceModelPerformanceCounters.cs
- BindingExpressionBase.cs
- X509Certificate.cs
- WebPartPersonalization.cs
- VideoDrawing.cs
- EntityFunctions.cs
- SafeCryptContextHandle.cs
- XPathException.cs
- XmlCharacterData.cs
- ToolStripButton.cs
- RelationshipNavigation.cs
- RegisteredArrayDeclaration.cs
- InheritedPropertyDescriptor.cs
- AttachedProperty.cs
- TabletDevice.cs
- TemplateNodeContextMenu.cs
- PointIndependentAnimationStorage.cs
- QueryOutputWriter.cs
- EdmItemCollection.cs
- SpecialNameAttribute.cs
- DiscoveryDocumentLinksPattern.cs
- DiscoveryDocumentSearchPattern.cs
- Mutex.cs
- ToolStripDropTargetManager.cs
- PathTooLongException.cs
- ChildTable.cs
- ZipIOLocalFileDataDescriptor.cs
- Rotation3D.cs
- GroupStyle.cs
- ToolStripGrip.cs
- RelatedImageListAttribute.cs
- CompositeScriptReferenceEventArgs.cs
- TreeNodeClickEventArgs.cs
- RpcResponse.cs
- PolicyValidationException.cs
- PolyBezierSegmentFigureLogic.cs
- CheckBoxField.cs
- IdentityHolder.cs
- MemoryMappedFileSecurity.cs
- BuildProviderInstallComponent.cs
- Helper.cs
- TextBlock.cs
- WebPartsSection.cs
- ProtectedProviderSettings.cs
- ContractHandle.cs
- AccessText.cs
- SettingsAttributes.cs
- GlobalizationAssembly.cs
- GenericQueueSurrogate.cs
- DesignTimeType.cs
- SharedUtils.cs
- ExtendedPropertyDescriptor.cs
- JsonFormatWriterGenerator.cs
- RegexTree.cs
- CreateUserWizardStep.cs
- TimelineClockCollection.cs
- XmlSchemaCompilationSettings.cs
- _LazyAsyncResult.cs
- WhitespaceRule.cs
- WebZone.cs
- AudioFileOut.cs
- InternalSafeNativeMethods.cs
- ChooseAction.cs
- SystemUdpStatistics.cs
- BoundsDrawingContextWalker.cs
- HwndHostAutomationPeer.cs
- CngKeyCreationParameters.cs
- AppSettingsReader.cs
- LoadRetryAsyncResult.cs
- SubordinateTransaction.cs
- DataGridViewCellParsingEventArgs.cs