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
- EUCJPEncoding.cs
- PackWebRequest.cs
- MetaColumn.cs
- SiteMapDataSource.cs
- SQLUtility.cs
- DependencyObjectType.cs
- TemplateEditingFrame.cs
- StdValidatorsAndConverters.cs
- MonitorWrapper.cs
- TextFindEngine.cs
- BaseCodeDomTreeGenerator.cs
- ObjectDataSourceMethodEventArgs.cs
- SharedDp.cs
- ModelVisual3D.cs
- InstanceCompleteException.cs
- WebPartConnectionsCancelEventArgs.cs
- ConnectionManager.cs
- _CookieModule.cs
- EntityKeyElement.cs
- SpecularMaterial.cs
- GenericParameterDataContract.cs
- TypeListConverter.cs
- ConditionCollection.cs
- TextFindEngine.cs
- ResXFileRef.cs
- HttpResponse.cs
- IdentityHolder.cs
- ConfigurationStrings.cs
- filewebrequest.cs
- CursorConverter.cs
- Wildcard.cs
- StandardCommands.cs
- XmlDownloadManager.cs
- WebPartEventArgs.cs
- XmlSchemaComplexContentExtension.cs
- StringCollectionEditor.cs
- _AcceptOverlappedAsyncResult.cs
- Model3D.cs
- CircleHotSpot.cs
- MarkupWriter.cs
- FaultDescription.cs
- TrustVersion.cs
- DataShape.cs
- Assembly.cs
- GenerateDerivedKeyRequest.cs
- XmlSchemaAttribute.cs
- ToolStripItemGlyph.cs
- SiteIdentityPermission.cs
- StringInfo.cs
- StickyNoteHelper.cs
- EntryWrittenEventArgs.cs
- FixedLineResult.cs
- UnsafePeerToPeerMethods.cs
- XPathNode.cs
- PlaceHolder.cs
- SkinBuilder.cs
- XmlAttributeCache.cs
- PopupEventArgs.cs
- SspiNegotiationTokenProviderState.cs
- HuffModule.cs
- OdbcDataAdapter.cs
- SafeCoTaskMem.cs
- AdRotator.cs
- CodeTypeDelegate.cs
- XmlFormatExtensionPrefixAttribute.cs
- CodeMethodInvokeExpression.cs
- RsaSecurityTokenParameters.cs
- WinEventQueueItem.cs
- FileLoadException.cs
- CollectionAdapters.cs
- KeyboardNavigation.cs
- Transactions.cs
- SymLanguageVendor.cs
- WindowsMenu.cs
- ScriptControlManager.cs
- Baml6Assembly.cs
- IndexerNameAttribute.cs
- ProcessHostMapPath.cs
- DataGridLength.cs
- SQLRoleProvider.cs
- ConfigurationConverterBase.cs
- SqlProfileProvider.cs
- BaseDataBoundControl.cs
- Authorization.cs
- XappLauncher.cs
- PropertyChangedEventArgs.cs
- EventDescriptorCollection.cs
- ErrorFormatterPage.cs
- SecurityUniqueId.cs
- cookieexception.cs
- Vector3dCollection.cs
- ImageMap.cs
- BaseValidator.cs
- SqlNode.cs
- NumberSubstitution.cs
- FileFormatException.cs
- shaper.cs
- AdRotator.cs
- XXXOnTypeBuilderInstantiation.cs
- Subset.cs