Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media3D / AmbientLight.cs / 1 / AmbientLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D ambient light implementation. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/18/2003 : t-gregr - Created // //--------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Composition; using MS.Internal; using System.ComponentModel.Design.Serialization; using System.Windows.Markup; namespace System.Windows.Media.Media3D { ////// Ambient lights light objects uniformly, regardless of their shape. /// public sealed partial class AmbientLight : Light { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor that creates a new white ambient light. /// public AmbientLight() : this( Colors.White ) { } ////// Constructor that creates a new ambient light. /// /// Ambient color of the new light. public AmbientLight(Color ambientColor) { Color = ambientColor; } #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ //----------------------------------------------------- // // Public Events // //------------------------------------------------------ //----------------------------------------------------- // // Private Fields // //----------------------------------------------------- } } // 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 ambient light implementation. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/18/2003 : t-gregr - Created // //--------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Composition; using MS.Internal; using System.ComponentModel.Design.Serialization; using System.Windows.Markup; namespace System.Windows.Media.Media3D { ////// Ambient lights light objects uniformly, regardless of their shape. /// public sealed partial class AmbientLight : Light { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor that creates a new white ambient light. /// public AmbientLight() : this( Colors.White ) { } ////// Constructor that creates a new ambient light. /// /// Ambient color of the new light. public AmbientLight(Color ambientColor) { Color = ambientColor; } #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ //----------------------------------------------------- // // Public Events // //------------------------------------------------------ //----------------------------------------------------- // // Private Fields // //----------------------------------------------------- } } // 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
- QueryOptionExpression.cs
- HatchBrush.cs
- StylusDownEventArgs.cs
- AsyncDataRequest.cs
- PlatformNotSupportedException.cs
- HtmlMeta.cs
- HttpCachePolicy.cs
- SiteMapHierarchicalDataSourceView.cs
- relpropertyhelper.cs
- BitmapSourceSafeMILHandle.cs
- ApplyImportsAction.cs
- PairComparer.cs
- MenuItemStyleCollection.cs
- SoapMessage.cs
- MetadataArtifactLoaderCompositeResource.cs
- ValueExpressions.cs
- IndentedTextWriter.cs
- CollectionViewGroup.cs
- TypeDescriptor.cs
- WebExceptionStatus.cs
- InstanceValue.cs
- BitFlagsGenerator.cs
- Collection.cs
- ConfigurationManagerHelperFactory.cs
- EmptyQuery.cs
- ParameterInfo.cs
- ToolStripMenuItem.cs
- ChineseLunisolarCalendar.cs
- List.cs
- _RegBlobWebProxyDataBuilder.cs
- TranslateTransform3D.cs
- Interlocked.cs
- DataGridViewCheckBoxColumn.cs
- FamilyMap.cs
- XmlSchemaAnnotated.cs
- DispatcherExceptionFilterEventArgs.cs
- CryptoKeySecurity.cs
- __ComObject.cs
- Constant.cs
- DbProviderFactory.cs
- SurrogateEncoder.cs
- SerializationInfo.cs
- VirtualPathExtension.cs
- SimpleMailWebEventProvider.cs
- SpellerStatusTable.cs
- ServerIdentity.cs
- Select.cs
- RepeatButton.cs
- UnknownBitmapEncoder.cs
- DeriveBytes.cs
- HwndHost.cs
- AutoGeneratedFieldProperties.cs
- HttpStreamXmlDictionaryWriter.cs
- Margins.cs
- UnsafeNativeMethods.cs
- OrderByQueryOptionExpression.cs
- WebUtil.cs
- IteratorAsyncResult.cs
- ResourceDictionaryCollection.cs
- wmiprovider.cs
- MdiWindowListItemConverter.cs
- AppDomainManager.cs
- ConnectivityStatus.cs
- IfAction.cs
- EventArgs.cs
- ListViewContainer.cs
- pingexception.cs
- EditingMode.cs
- EntityDataSourceDesigner.cs
- Trace.cs
- httpserverutility.cs
- DataGridLinkButton.cs
- Config.cs
- ViewBox.cs
- PenThread.cs
- ListViewInsertedEventArgs.cs
- IisTraceWebEventProvider.cs
- ResourceContainerWrapper.cs
- LockCookie.cs
- PanelContainerDesigner.cs
- Pair.cs
- RijndaelManagedTransform.cs
- SafeNativeMemoryHandle.cs
- RuntimeCompatibilityAttribute.cs
- ContextMenu.cs
- Compiler.cs
- EncoderFallback.cs
- PerformanceCounter.cs
- QuotedPrintableStream.cs
- MonitoringDescriptionAttribute.cs
- FactoryRecord.cs
- DataTransferEventArgs.cs
- NamespaceEmitter.cs
- MinMaxParagraphWidth.cs
- UserPreferenceChangedEventArgs.cs
- EventLogReader.cs
- KnowledgeBase.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- OdbcDataAdapter.cs
- ScrollProperties.cs