Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / AmbientLight.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Msec.cs
- UnsafeNativeMethods.cs
- WorkflowExecutor.cs
- ToolStrip.cs
- StreamInfo.cs
- LogPolicy.cs
- RegexStringValidator.cs
- ExecutionContext.cs
- CustomGrammar.cs
- NativeCppClassAttribute.cs
- Composition.cs
- Vector.cs
- InputMethodStateChangeEventArgs.cs
- ActivityBindForm.Designer.cs
- ConcurrentStack.cs
- OrderedDictionary.cs
- CodeMemberEvent.cs
- Graphics.cs
- ContainerSelectorBehavior.cs
- SessionEndedEventArgs.cs
- Compiler.cs
- ClientTarget.cs
- AssociationTypeEmitter.cs
- QueryInterceptorAttribute.cs
- PackWebResponse.cs
- EntityCommandCompilationException.cs
- CompModHelpers.cs
- PowerModeChangedEventArgs.cs
- WriteableBitmap.cs
- XmlWriterTraceListener.cs
- CodeLabeledStatement.cs
- TypeSystem.cs
- WaitingCursor.cs
- LayoutInformation.cs
- DateRangeEvent.cs
- WebPartPersonalization.cs
- PerformanceCounterPermission.cs
- KeyValueInternalCollection.cs
- QuaternionAnimation.cs
- webproxy.cs
- HttpApplication.cs
- QuaternionAnimation.cs
- _LocalDataStoreMgr.cs
- TreeViewEvent.cs
- BaseCodePageEncoding.cs
- RecognizedPhrase.cs
- MergablePropertyAttribute.cs
- ClientSettings.cs
- VerificationException.cs
- ListBoxChrome.cs
- SourceLineInfo.cs
- SystemBrushes.cs
- PerfCounterSection.cs
- DESCryptoServiceProvider.cs
- ParseChildrenAsPropertiesAttribute.cs
- EntityDataSourceViewSchema.cs
- HtmlControl.cs
- XmlNamedNodeMap.cs
- FusionWrap.cs
- FloatUtil.cs
- AttributeCollection.cs
- ScrollProperties.cs
- UnhandledExceptionEventArgs.cs
- FixedSOMImage.cs
- HtmlInputButton.cs
- ProxyOperationRuntime.cs
- RelatedImageListAttribute.cs
- XmlArrayAttribute.cs
- PartialCachingControl.cs
- RuleSetDialog.cs
- AbstractExpressions.cs
- ItemsPanelTemplate.cs
- HttpPostedFile.cs
- SiteMapDataSourceView.cs
- PersonalizationDictionary.cs
- FamilyTypefaceCollection.cs
- DrawingContext.cs
- MaskedTextBoxTextEditor.cs
- DataViewSettingCollection.cs
- CompatibleIComparer.cs
- ScriptingWebServicesSectionGroup.cs
- ApplicationTrust.cs
- ActiveDocumentEvent.cs
- BaseProcessor.cs
- LinqDataSourceUpdateEventArgs.cs
- SynchronizationLockException.cs
- MILUtilities.cs
- ObjectQuery.cs
- WorkflowDesignerColors.cs
- LineMetrics.cs
- HtmlTitle.cs
- StrokeSerializer.cs
- BrowserDefinition.cs
- XmlWellformedWriter.cs
- RelatedCurrencyManager.cs
- DataGridViewTextBoxColumn.cs
- WindowsFont.cs
- NoClickablePointException.cs
- HMACSHA1.cs
- ContentControl.cs