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
- FixUpCollection.cs
- AudioFormatConverter.cs
- ListViewInsertedEventArgs.cs
- MsmqChannelFactory.cs
- PreviewPageInfo.cs
- SqlConnectionHelper.cs
- PlacementWorkspace.cs
- GenericsInstances.cs
- ToolStrip.cs
- StateMachineExecutionState.cs
- MemoryMappedViewAccessor.cs
- ECDiffieHellmanCng.cs
- TreeNodeSelectionProcessor.cs
- SaveFileDialog.cs
- GridToolTip.cs
- StandardCommandToolStripMenuItem.cs
- DbProviderFactoriesConfigurationHandler.cs
- TextEffectCollection.cs
- PageBuildProvider.cs
- DbException.cs
- EntityConnection.cs
- XmlQueryRuntime.cs
- FixedSchema.cs
- HtmlTableCell.cs
- ServiceBehaviorElement.cs
- Material.cs
- Overlapped.cs
- ResolveMatchesMessageCD1.cs
- WrappedReader.cs
- CodeStatement.cs
- DPCustomTypeDescriptor.cs
- DbXmlEnabledProviderManifest.cs
- ExtendedProperty.cs
- DebugView.cs
- WebMessageBodyStyleHelper.cs
- DatatypeImplementation.cs
- IUnknownConstantAttribute.cs
- ComNativeDescriptor.cs
- BrowserCapabilitiesFactory.cs
- FilteredReadOnlyMetadataCollection.cs
- UdpDiscoveryEndpointProvider.cs
- HitTestWithPointDrawingContextWalker.cs
- TreeBuilderXamlTranslator.cs
- CommandHelpers.cs
- SuppressMergeCheckAttribute.cs
- EasingFunctionBase.cs
- ViewStateModeByIdAttribute.cs
- FileSystemEventArgs.cs
- SigningDialog.cs
- XmlSchemaComplexContent.cs
- RawStylusInput.cs
- BeginStoryboard.cs
- MessageBodyMemberAttribute.cs
- WebPartEditorOkVerb.cs
- XmlSchemaInclude.cs
- ObjectSecurity.cs
- XPathMultyIterator.cs
- DataGridRowAutomationPeer.cs
- DataKeyCollection.cs
- Style.cs
- InternalPolicyElement.cs
- CodeVariableDeclarationStatement.cs
- SqlMethods.cs
- ExpressionBuilderCollection.cs
- MenuItemCollection.cs
- BaseTemplateParser.cs
- FormsAuthenticationUserCollection.cs
- XPathArrayIterator.cs
- MaterialGroup.cs
- ObjectDataSourceEventArgs.cs
- DialogResultConverter.cs
- WindowsFormsLinkLabel.cs
- PathTooLongException.cs
- JulianCalendar.cs
- FixedFlowMap.cs
- FlowDocumentView.cs
- ActivationServices.cs
- EditorPartChrome.cs
- DataGridViewColumn.cs
- RealProxy.cs
- ProcessInfo.cs
- DateRangeEvent.cs
- SqlStream.cs
- SetStoryboardSpeedRatio.cs
- TraceUtils.cs
- ScopeElementCollection.cs
- UTF7Encoding.cs
- CultureMapper.cs
- VirtualDirectoryMappingCollection.cs
- TabPage.cs
- BindingCompleteEventArgs.cs
- WebPartAuthorizationEventArgs.cs
- ToolStripOverflowButton.cs
- XmlSchemaAll.cs
- TypeSystem.cs
- RequestCache.cs
- XhtmlBasicCommandAdapter.cs
- ThreadAbortException.cs
- ProjectionPruner.cs
- SoapSchemaMember.cs