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
- DependentList.cs
- FixedPageAutomationPeer.cs
- ActivityWithResultConverter.cs
- XmlSchemaAnyAttribute.cs
- TextRangeProviderWrapper.cs
- ControlBuilderAttribute.cs
- IdleTimeoutMonitor.cs
- TemplatePropertyEntry.cs
- ConfigurationValidatorAttribute.cs
- SynchronizedKeyedCollection.cs
- MimeMapping.cs
- SuppressMergeCheckAttribute.cs
- StickyNote.cs
- ConfigurationStrings.cs
- BamlLocalizableResource.cs
- NetworkInterface.cs
- RowToFieldTransformer.cs
- FaultCode.cs
- WindowVisualStateTracker.cs
- DynamicField.cs
- Ref.cs
- ClientUrlResolverWrapper.cs
- ObjectListCommand.cs
- SqlParameterizer.cs
- ErrorHandler.cs
- RemoteWebConfigurationHostStream.cs
- __Error.cs
- SQLCharsStorage.cs
- SmiEventSink.cs
- MenuItemBinding.cs
- DefaultAsyncDataDispatcher.cs
- RangeBaseAutomationPeer.cs
- TypeSystemProvider.cs
- XPathSelectionIterator.cs
- IncrementalReadDecoders.cs
- FixedSOMPageConstructor.cs
- X509IssuerSerialKeyIdentifierClause.cs
- HashHelpers.cs
- PermissionRequestEvidence.cs
- __Filters.cs
- Line.cs
- SafeWaitHandle.cs
- ScaleTransform3D.cs
- TransformerInfo.cs
- ToolBar.cs
- NavigateUrlConverter.cs
- AutomationPropertyInfo.cs
- SqlConnectionHelper.cs
- OpCodes.cs
- InteropAutomationProvider.cs
- TextSyndicationContentKindHelper.cs
- CodeIterationStatement.cs
- Maps.cs
- Highlights.cs
- TriState.cs
- SQLBytes.cs
- ConvertTextFrag.cs
- TextRangeBase.cs
- DateRangeEvent.cs
- TreeNodeEventArgs.cs
- ArraySortHelper.cs
- FlowSwitch.cs
- TextCharacters.cs
- UserPreferenceChangedEventArgs.cs
- PrintDialog.cs
- Graphics.cs
- CreateWorkflowOwnerCommand.cs
- WinOEToolBoxItem.cs
- GridViewRowPresenterBase.cs
- QuaternionValueSerializer.cs
- ListViewDesigner.cs
- TypeConverterMarkupExtension.cs
- FontNameEditor.cs
- PlanCompiler.cs
- DataReaderContainer.cs
- EngineSiteSapi.cs
- ImmutableDispatchRuntime.cs
- WebRequestModulesSection.cs
- XmlWrappingReader.cs
- SingleAnimation.cs
- ObjectDisposedException.cs
- RectangleHotSpot.cs
- DictionaryEntry.cs
- DataGridDetailsPresenterAutomationPeer.cs
- DataGridItemCollection.cs
- BitmapImage.cs
- SqlWebEventProvider.cs
- EntityException.cs
- ParameterElementCollection.cs
- DrawingVisualDrawingContext.cs
- DataListItem.cs
- PipeSecurity.cs
- FreezableDefaultValueFactory.cs
- SqlBulkCopyColumnMappingCollection.cs
- ColumnMap.cs
- BoundField.cs
- AnimatedTypeHelpers.cs
- SchemeSettingElementCollection.cs
- DSGeneratorProblem.cs
- DynamicObjectAccessor.cs