Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- OrderedDictionary.cs
- PartialArray.cs
- DatasetMethodGenerator.cs
- ConfigurationErrorsException.cs
- Application.cs
- CssStyleCollection.cs
- ScrollContentPresenter.cs
- ToolStrip.cs
- MissingFieldException.cs
- FacetChecker.cs
- InputScopeNameConverter.cs
- SortKey.cs
- lengthconverter.cs
- SystemNetHelpers.cs
- XmlSecureResolver.cs
- EventProperty.cs
- PropertyManager.cs
- GcSettings.cs
- IListConverters.cs
- Clipboard.cs
- DataTableClearEvent.cs
- ChameleonKey.cs
- ArrayTypeMismatchException.cs
- configsystem.cs
- BaseDataBoundControl.cs
- StringFunctions.cs
- ClientFormsIdentity.cs
- HttpResponseHeader.cs
- DataGridViewHitTestInfo.cs
- UnaryQueryOperator.cs
- Annotation.cs
- _SslStream.cs
- CompilerInfo.cs
- FixUp.cs
- UIElementParagraph.cs
- KeyEventArgs.cs
- MaskedTextBoxTextEditorDropDown.cs
- DataStreams.cs
- ConnectionPoint.cs
- CapabilitiesRule.cs
- uribuilder.cs
- CommandField.cs
- DocComment.cs
- Line.cs
- AnimationStorage.cs
- ActivityInstanceReference.cs
- StreamWriter.cs
- BaseCodeDomTreeGenerator.cs
- ListBoxItemAutomationPeer.cs
- ISFTagAndGuidCache.cs
- ActivatableWorkflowsQueryResult.cs
- XamlTypeMapper.cs
- PenContexts.cs
- XmlTextWriter.cs
- InlinedAggregationOperatorEnumerator.cs
- CustomCredentialPolicy.cs
- IFormattable.cs
- FormsAuthenticationConfiguration.cs
- ImageMapEventArgs.cs
- GuidelineCollection.cs
- EndpointInstanceProvider.cs
- CompilerParameters.cs
- EncodingDataItem.cs
- PopupControlService.cs
- TextTreeNode.cs
- AutomationEvent.cs
- TraceProvider.cs
- TextDecorations.cs
- SelectionRange.cs
- PersistenceException.cs
- FormattedText.cs
- DrawToolTipEventArgs.cs
- SiteIdentityPermission.cs
- WebColorConverter.cs
- SoapIncludeAttribute.cs
- ButtonBaseAdapter.cs
- ListBindingHelper.cs
- InternalSafeNativeMethods.cs
- ModuleElement.cs
- TTSVoice.cs
- MobileSysDescriptionAttribute.cs
- ImageMapEventArgs.cs
- ToolStripMenuItem.cs
- CategoryAttribute.cs
- mda.cs
- WindowsScrollBarBits.cs
- StringFunctions.cs
- NavigationPropertyAccessor.cs
- WSHttpBindingBaseElement.cs
- OdbcException.cs
- ObjectDisposedException.cs
- RegexTree.cs
- DeferredSelectedIndexReference.cs
- DesignerImageAdapter.cs
- XmlSerializerAssemblyAttribute.cs
- Application.cs
- UTF32Encoding.cs
- UserControl.cs
- DataGrid.cs
- MonthCalendar.cs