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
- PageThemeCodeDomTreeGenerator.cs
- BitmapMetadataBlob.cs
- Endpoint.cs
- IisTraceListener.cs
- UIElement.cs
- MsmqInputChannelBase.cs
- SegmentInfo.cs
- WsatAdminException.cs
- CountdownEvent.cs
- UserControl.cs
- HostingEnvironmentWrapper.cs
- TCPListener.cs
- JoinElimination.cs
- XmlSchemaCompilationSettings.cs
- Listbox.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- MetadataImporterQuotas.cs
- RequestContextBase.cs
- BCryptNative.cs
- CalloutQueueItem.cs
- PackageRelationshipCollection.cs
- ControlPropertyNameConverter.cs
- StreamingContext.cs
- OleDbRowUpdatingEvent.cs
- UIPermission.cs
- SettingsAttributes.cs
- SmiSettersStream.cs
- _PooledStream.cs
- CodeDelegateInvokeExpression.cs
- EncryptedReference.cs
- Timer.cs
- OdbcParameterCollection.cs
- StyleSheetComponentEditor.cs
- RangeValidator.cs
- ContextStack.cs
- NamespaceInfo.cs
- CompressionTransform.cs
- DecimalStorage.cs
- TypedAsyncResult.cs
- EntityAdapter.cs
- UriSection.cs
- Propagator.cs
- ComponentEditorForm.cs
- ReversePositionQuery.cs
- UIAgentInitializationException.cs
- ContainerVisual.cs
- WebPartUserCapability.cs
- UTF32Encoding.cs
- DataGridViewButtonColumn.cs
- DESCryptoServiceProvider.cs
- CellPartitioner.cs
- TemplateInstanceAttribute.cs
- EncryptedXml.cs
- PtsHost.cs
- StructuredType.cs
- DetailsViewPagerRow.cs
- DoubleCollection.cs
- LayoutEngine.cs
- Int16.cs
- MsmqIntegrationProcessProtocolHandler.cs
- HtmlWindow.cs
- EventBuilder.cs
- AutomationPatternInfo.cs
- DependentTransaction.cs
- SoapObjectReader.cs
- AccessViolationException.cs
- Application.cs
- base64Transforms.cs
- SEHException.cs
- PolicyUnit.cs
- ListParagraph.cs
- TcpChannelHelper.cs
- RegexRunnerFactory.cs
- AssociationEndMember.cs
- CheckedListBox.cs
- ChannelOptions.cs
- CollectionView.cs
- HttpModuleAction.cs
- ExpressionQuoter.cs
- XMLDiffLoader.cs
- WindowsListViewGroup.cs
- CFStream.cs
- TreeWalkHelper.cs
- DataServiceQuery.cs
- Ref.cs
- PlatformCulture.cs
- ContractUtils.cs
- SpellerError.cs
- SoapProtocolReflector.cs
- CodeTypeParameter.cs
- TemplateField.cs
- VBIdentifierTrimConverter.cs
- RemotingConfigParser.cs
- AssociatedControlConverter.cs
- ContextDataSource.cs
- DetailsViewModeEventArgs.cs
- BitmapCacheBrush.cs
- ReachSerializerAsync.cs
- ScrollableControlDesigner.cs
- SmiEventSink.cs