Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- SqlProviderServices.cs
- MetadataUtilsSmi.cs
- DesignTable.cs
- AlternateView.cs
- MediaElementAutomationPeer.cs
- XmlSchemaSimpleContentRestriction.cs
- DefinitionBase.cs
- NetworkInterface.cs
- StylusPointPropertyInfoDefaults.cs
- HtmlCommandAdapter.cs
- XmlWellformedWriterHelpers.cs
- XmlSyndicationContent.cs
- ProcessHostFactoryHelper.cs
- _NetRes.cs
- OdbcException.cs
- GeneratedView.cs
- Root.cs
- WebPartZoneBase.cs
- RawStylusSystemGestureInputReport.cs
- SemanticKeyElement.cs
- XmlResolver.cs
- EntityClassGenerator.cs
- AnimationException.cs
- MobileControlsSectionHandler.cs
- HtmlFormAdapter.cs
- FixedDocument.cs
- userdatakeys.cs
- DataGridViewCellConverter.cs
- PrintController.cs
- QueryExpression.cs
- AbandonedMutexException.cs
- cookiecollection.cs
- SafeViewOfFileHandle.cs
- OdbcEnvironment.cs
- AttributeData.cs
- ChannelSinkStacks.cs
- IntPtr.cs
- ResXDataNode.cs
- DLinqTableProvider.cs
- assemblycache.cs
- SystemInfo.cs
- ToolboxControl.cs
- DescendentsWalker.cs
- StateChangeEvent.cs
- DataStorage.cs
- ChangeTracker.cs
- AbandonedMutexException.cs
- SafeTimerHandle.cs
- SchemaSetCompiler.cs
- DatatypeImplementation.cs
- PolyLineSegmentFigureLogic.cs
- WhitespaceRule.cs
- PublishLicense.cs
- MSAAWinEventWrap.cs
- SHA1.cs
- ArithmeticLiteral.cs
- UpDownEvent.cs
- ContextMenu.cs
- TextBoxView.cs
- RuntimeConfig.cs
- CodeTypeMemberCollection.cs
- ScriptIgnoreAttribute.cs
- FixedStringLookup.cs
- SecuritySessionFilter.cs
- Grant.cs
- WebPartConnectVerb.cs
- regiisutil.cs
- Stack.cs
- TypeDescriptionProviderAttribute.cs
- smtpconnection.cs
- CatalogZoneBase.cs
- EmbossBitmapEffect.cs
- QilInvokeLateBound.cs
- XPathAncestorQuery.cs
- SapiRecoContext.cs
- ImageMap.cs
- TextBreakpoint.cs
- RemotingAttributes.cs
- ComplexTypeEmitter.cs
- UriTemplateVariableQueryValue.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- FamilyTypeface.cs
- HtmlInputSubmit.cs
- NamespaceTable.cs
- KeyNotFoundException.cs
- DoubleLink.cs
- SqlDataAdapter.cs
- CalculatedColumn.cs
- TimeStampChecker.cs
- RuntimeConfigLKG.cs
- RequestDescription.cs
- HandlerFactoryCache.cs
- ListParagraph.cs
- IResourceProvider.cs
- AspNetCompatibilityRequirementsAttribute.cs
- StickyNoteHelper.cs
- SqlInternalConnectionSmi.cs
- MarkupObject.cs
- wmiprovider.cs
- ThreadLocal.cs