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
- TextServicesCompartmentEventSink.cs
- KeyInstance.cs
- ScrollItemPatternIdentifiers.cs
- OleDbReferenceCollection.cs
- IImplicitResourceProvider.cs
- ObjectHelper.cs
- HMACSHA256.cs
- EntityContainer.cs
- EnumerableCollectionView.cs
- NextPreviousPagerField.cs
- ProfileParameter.cs
- Rect3D.cs
- TemplateBindingExpressionConverter.cs
- PropertyConverter.cs
- ToolStripScrollButton.cs
- Stream.cs
- PtsHost.cs
- SocketException.cs
- UInt32.cs
- RegexWriter.cs
- ServiceDeploymentInfo.cs
- followingsibling.cs
- XPathExpr.cs
- TracingConnection.cs
- WebHostedComPlusServiceHost.cs
- TimeSpanValidator.cs
- LoginName.cs
- ISessionStateStore.cs
- Annotation.cs
- ImplicitInputBrush.cs
- SecurityPolicySection.cs
- DropSource.cs
- EventMappingSettings.cs
- BamlLocalizableResourceKey.cs
- ProgressPage.cs
- DataReceivedEventArgs.cs
- PrintPreviewControl.cs
- StringFormat.cs
- SpellCheck.cs
- RowSpanVector.cs
- CorrelationService.cs
- RoleGroupCollection.cs
- ListBoxItem.cs
- DiscoveryDefaults.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- RequestChannel.cs
- CleanUpVirtualizedItemEventArgs.cs
- Bits.cs
- Ticks.cs
- AsyncResult.cs
- RelationshipEndMember.cs
- TypeElement.cs
- ListGeneralPage.cs
- ResourceCodeDomSerializer.cs
- DocumentReferenceCollection.cs
- COM2ExtendedBrowsingHandler.cs
- ResourceReferenceKeyNotFoundException.cs
- EditingCoordinator.cs
- Pens.cs
- IndentedTextWriter.cs
- LineUtil.cs
- BasicViewGenerator.cs
- recordstatescratchpad.cs
- ScalarOps.cs
- SqlBulkCopyColumnMapping.cs
- InternalMappingException.cs
- UIElementPropertyUndoUnit.cs
- UriTemplateVariableQueryValue.cs
- ListBindableAttribute.cs
- CornerRadiusConverter.cs
- EntityDataSourceChangedEventArgs.cs
- ViewUtilities.cs
- EpmSyndicationContentSerializer.cs
- DelegatingHeader.cs
- documentsequencetextcontainer.cs
- SqlTypeSystemProvider.cs
- GridViewColumnCollection.cs
- Executor.cs
- COAUTHINFO.cs
- CanonicalFormWriter.cs
- TreeIterator.cs
- ServiceEndpointElement.cs
- QuotedStringFormatReader.cs
- SessionParameter.cs
- ReflectionTypeLoadException.cs
- WebPartConnectionsConnectVerb.cs
- ViewPort3D.cs
- CodeSnippetCompileUnit.cs
- ToolStripDropDownMenu.cs
- ClientSponsor.cs
- StateValidator.cs
- DesignerForm.cs
- CommandExpr.cs
- XmlWrappingReader.cs
- XamlStyleSerializer.cs
- XPathNavigatorReader.cs
- TcpClientChannel.cs
- GridViewRowPresenterBase.cs
- HostedController.cs
- FixedDocumentPaginator.cs