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
- DataListCommandEventArgs.cs
- XmlWrappingWriter.cs
- DriveNotFoundException.cs
- DbLambda.cs
- SystemIdentity.cs
- XPathNodeIterator.cs
- UserControlCodeDomTreeGenerator.cs
- KeyProperty.cs
- InstanceKeyCollisionException.cs
- Pen.cs
- TrackingAnnotationCollection.cs
- GlobalItem.cs
- WebZoneDesigner.cs
- UIElement3DAutomationPeer.cs
- BinaryFormatterSinks.cs
- CounterSetInstance.cs
- CharacterBufferReference.cs
- ShaperBuffers.cs
- Message.cs
- ContainerUIElement3D.cs
- TrackingProfile.cs
- SafeNativeMethods.cs
- MaskDescriptor.cs
- SqlExpander.cs
- UrlEncodedParameterWriter.cs
- PackageStore.cs
- ContainerParagraph.cs
- LinkedList.cs
- EntityCommandCompilationException.cs
- TrustLevel.cs
- ColorPalette.cs
- DBPropSet.cs
- PrintDocument.cs
- Wow64ConfigurationLoader.cs
- DetailsViewInsertEventArgs.cs
- IgnoreFlushAndCloseStream.cs
- ImageClickEventArgs.cs
- ConfigurationStrings.cs
- SubpageParagraph.cs
- DataGridBeginningEditEventArgs.cs
- sqlmetadatafactory.cs
- FamilyCollection.cs
- DataColumnPropertyDescriptor.cs
- FactoryMaker.cs
- FixedHyperLink.cs
- TreeNodeClickEventArgs.cs
- ClientCredentials.cs
- EdmError.cs
- ContainerControl.cs
- Trace.cs
- Container.cs
- WriteTimeStream.cs
- InputScope.cs
- AlphaSortedEnumConverter.cs
- StorageScalarPropertyMapping.cs
- Binding.cs
- ParserExtension.cs
- Interfaces.cs
- FilterableAttribute.cs
- ObjectListFieldsPage.cs
- OdbcStatementHandle.cs
- ButtonChrome.cs
- XmlJsonWriter.cs
- Object.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- ScrollItemProviderWrapper.cs
- ListSourceHelper.cs
- TargetControlTypeCache.cs
- CultureSpecificStringDictionary.cs
- VisualStyleElement.cs
- TdsParameterSetter.cs
- DetailsViewDeletedEventArgs.cs
- Permission.cs
- PersonalizableTypeEntry.cs
- ConfigXmlCDataSection.cs
- IIS7UserPrincipal.cs
- QueryableDataSourceHelper.cs
- XmlSchemaImport.cs
- InstanceDataCollectionCollection.cs
- ReflectionTypeLoadException.cs
- LeftCellWrapper.cs
- WindowsTokenRoleProvider.cs
- EventProxy.cs
- AuthenticatedStream.cs
- CompModSwitches.cs
- FormatConvertedBitmap.cs
- SmiEventStream.cs
- BezierSegment.cs
- Pens.cs
- WebPartConnectionsCancelVerb.cs
- Command.cs
- ImageFormatConverter.cs
- KeyValueConfigurationElement.cs
- SectionUpdates.cs
- WebConvert.cs
- CustomTypeDescriptor.cs
- RangeValueProviderWrapper.cs
- XmlQualifiedNameTest.cs
- DBCommand.cs
- ActiveXSerializer.cs