Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- FlatButtonAppearance.cs
- PngBitmapDecoder.cs
- DesignBindingPropertyDescriptor.cs
- ValueTypeFixupInfo.cs
- SiteMapHierarchicalDataSourceView.cs
- SmtpNegotiateAuthenticationModule.cs
- CompoundFileStorageReference.cs
- FileUpload.cs
- StringOutput.cs
- XmlSchemaExporter.cs
- InvalidPipelineStoreException.cs
- RowToFieldTransformer.cs
- ScriptControl.cs
- PeerApplicationLaunchInfo.cs
- KeyValuePair.cs
- ImageAnimator.cs
- SqlMethodTransformer.cs
- WorkflowDebuggerSteppingAttribute.cs
- RoutedEvent.cs
- ExternalException.cs
- DataKeyArray.cs
- ArgIterator.cs
- ActivityExecutorSurrogate.cs
- Stacktrace.cs
- EdmSchemaError.cs
- Variant.cs
- Util.cs
- QilInvokeEarlyBound.cs
- BitmapEffectDrawingContent.cs
- DependencyPropertyDescriptor.cs
- XmlSchemaCompilationSettings.cs
- OutputCacheSettingsSection.cs
- WebResourceAttribute.cs
- EnumValidator.cs
- ProvidersHelper.cs
- DocumentPageTextView.cs
- MachineKeyConverter.cs
- LayoutTableCell.cs
- PointUtil.cs
- safePerfProviderHandle.cs
- ValueQuery.cs
- SQLConvert.cs
- XmlSchemaAttributeGroup.cs
- XmlSchemaAnnotated.cs
- X509ChainElement.cs
- TypeDescriptionProviderAttribute.cs
- DataGridHeaderBorder.cs
- DesignerActionListCollection.cs
- XmlNamespaceMappingCollection.cs
- XmlValidatingReader.cs
- QueueProcessor.cs
- XmlJsonReader.cs
- UnmanagedMemoryStreamWrapper.cs
- OdbcParameterCollection.cs
- DataViewManagerListItemTypeDescriptor.cs
- COM2EnumConverter.cs
- StrongNameMembershipCondition.cs
- ValidatingReaderNodeData.cs
- FileDialogCustomPlacesCollection.cs
- WhitespaceSignificantCollectionAttribute.cs
- WebBrowserBase.cs
- CompilerInfo.cs
- BitmapData.cs
- DataTableTypeConverter.cs
- SafeBitVector32.cs
- ExpressionVisitorHelpers.cs
- WebPartUserCapability.cs
- DesignerListAdapter.cs
- UmAlQuraCalendar.cs
- DeflateStream.cs
- TdsParserSafeHandles.cs
- ApplicationTrust.cs
- Typography.cs
- ReadOnlyDictionary.cs
- RouteCollection.cs
- HttpWebRequest.cs
- Table.cs
- _AutoWebProxyScriptEngine.cs
- StorageEntityTypeMapping.cs
- DelayLoadType.cs
- DurationConverter.cs
- AnonymousIdentificationModule.cs
- NTAccount.cs
- BitmapFrameEncode.cs
- DataFieldConverter.cs
- SchemaEntity.cs
- XsltException.cs
- WebPartZone.cs
- DataControlLinkButton.cs
- ResolveNameEventArgs.cs
- AsyncStreamReader.cs
- XmlSchemaSimpleTypeRestriction.cs
- JsonCollectionDataContract.cs
- EditorZoneDesigner.cs
- PersonalizationStateInfoCollection.cs
- RegistryExceptionHelper.cs
- MgmtConfigurationRecord.cs
- ListSourceHelper.cs
- AnnotationService.cs
- TextLineResult.cs