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
- XmlNamespaceMappingCollection.cs
- SystemIPInterfaceStatistics.cs
- TargetControlTypeCache.cs
- DnsEndpointIdentity.cs
- XmlSchemaNotation.cs
- PenThreadPool.cs
- XamlSerializationHelper.cs
- ReaderWriterLockWrapper.cs
- FontSourceCollection.cs
- ValueUnavailableException.cs
- FrameworkContextData.cs
- CompilerLocalReference.cs
- Int16Animation.cs
- regiisutil.cs
- Thickness.cs
- Console.cs
- AbstractDataSvcMapFileLoader.cs
- BoolExpressionVisitors.cs
- FigureParagraph.cs
- FrameworkObject.cs
- Constraint.cs
- XmlName.cs
- PrtCap_Public.cs
- OrthographicCamera.cs
- BuilderElements.cs
- SchemaElementLookUpTableEnumerator.cs
- SystemResources.cs
- CounterSampleCalculator.cs
- XmlSchemaElement.cs
- ConfigurationValidatorAttribute.cs
- ColumnHeader.cs
- FigureParagraph.cs
- PreviewPrintController.cs
- WebPartUtil.cs
- ExtensionDataReader.cs
- MemoryFailPoint.cs
- WebControlAdapter.cs
- LinearQuaternionKeyFrame.cs
- StateMachineWorkflowDesigner.cs
- ToolStripItemClickedEventArgs.cs
- ProfilePropertyMetadata.cs
- DataGridViewSelectedColumnCollection.cs
- HtmlLink.cs
- EmbossBitmapEffect.cs
- CatalogPart.cs
- ToolStripActionList.cs
- XmlUnspecifiedAttribute.cs
- WindowsGrip.cs
- DBDataPermission.cs
- WindowsSysHeader.cs
- DnsEndPoint.cs
- MessageQuerySet.cs
- ValidationManager.cs
- XmlSerializableReader.cs
- EdgeProfileValidation.cs
- Literal.cs
- Renderer.cs
- NextPreviousPagerField.cs
- CompositeFontInfo.cs
- DataServiceQueryOfT.cs
- SerializationException.cs
- ProviderUtil.cs
- UnconditionalPolicy.cs
- Region.cs
- DataGridViewRowEventArgs.cs
- ListViewInsertEventArgs.cs
- TypedElement.cs
- RequestTimeoutManager.cs
- XmlImplementation.cs
- ScrollItemPattern.cs
- ObjectDataSourceMethodEditor.cs
- FtpWebResponse.cs
- Classification.cs
- TableItemPattern.cs
- DataException.cs
- TreeViewHitTestInfo.cs
- ISAPIRuntime.cs
- _emptywebproxy.cs
- Permission.cs
- OperationAbortedException.cs
- xmlsaver.cs
- TableCell.cs
- SelectorAutomationPeer.cs
- EventDrivenDesigner.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- WindowsFormsHelpers.cs
- TableLayoutStyle.cs
- EditBehavior.cs
- SqlFactory.cs
- Grid.cs
- QuaternionAnimation.cs
- RtfControlWordInfo.cs
- RpcAsyncResult.cs
- MimeWriter.cs
- OciHandle.cs
- DataKey.cs
- AppearanceEditorPart.cs
- SqlBuilder.cs
- ToolBar.cs
- MultipartContentParser.cs