Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- Assembly.cs
- XmlResolver.cs
- ComEventsMethod.cs
- SecurityDescriptor.cs
- DesignerView.cs
- ProcessActivityTreeOptions.cs
- TextRange.cs
- TextProviderWrapper.cs
- ColumnResizeUndoUnit.cs
- WsdlInspector.cs
- DocumentSchemaValidator.cs
- ColumnWidthChangingEvent.cs
- XomlCompilerHelpers.cs
- StylusPointPropertyInfo.cs
- VirtualDirectoryMappingCollection.cs
- DictionaryManager.cs
- SqlConnectionHelper.cs
- Solver.cs
- ItemCollectionEditor.cs
- StorageSetMapping.cs
- TableRow.cs
- future.cs
- SoapServerMethod.cs
- ClientTargetSection.cs
- ICollection.cs
- TcpProcessProtocolHandler.cs
- SemanticBasicElement.cs
- PropertyTab.cs
- ScrollViewer.cs
- VoiceObjectToken.cs
- OutputCacheSection.cs
- StreamUpdate.cs
- XPathDocumentNavigator.cs
- GenericTypeParameterBuilder.cs
- SqlCommandSet.cs
- SerialPort.cs
- NamedPipeChannelFactory.cs
- ObjectListCommandCollection.cs
- ValidatedMobileControlConverter.cs
- TokenBasedSet.cs
- GridViewRowPresenter.cs
- TemplateBamlRecordReader.cs
- XamlDesignerSerializationManager.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- DoubleKeyFrameCollection.cs
- AppDomainManager.cs
- AddInPipelineAttributes.cs
- EndpointAddressProcessor.cs
- AnnotationResourceCollection.cs
- RepeatBehavior.cs
- RemotingAttributes.cs
- ConnectionPoolRegistry.cs
- QuotedPrintableStream.cs
- ReferencedAssembly.cs
- ConstructorNeedsTagAttribute.cs
- CommandLibraryHelper.cs
- ResourceDictionaryCollection.cs
- AttributeExtensions.cs
- UniqueIdentifierService.cs
- SslStreamSecurityBindingElement.cs
- DrawingCollection.cs
- OpenTypeLayoutCache.cs
- XmlSchemaCollection.cs
- UrlAuthorizationModule.cs
- mil_sdk_version.cs
- DispatcherExceptionFilterEventArgs.cs
- ContainerParaClient.cs
- FrameAutomationPeer.cs
- FrameSecurityDescriptor.cs
- DataSourceCacheDurationConverter.cs
- NetMsmqBinding.cs
- DispatcherTimer.cs
- CodeArgumentReferenceExpression.cs
- XmlBaseWriter.cs
- OracleInfoMessageEventArgs.cs
- DataSourceCacheDurationConverter.cs
- ErrorStyle.cs
- SqlXmlStorage.cs
- basecomparevalidator.cs
- CheckBox.cs
- SqlDataSourceQueryConverter.cs
- FormatSettings.cs
- Object.cs
- SafeNativeMethods.cs
- ContentFileHelper.cs
- MutexSecurity.cs
- TransformConverter.cs
- TraceLevelStore.cs
- DefaultPrintController.cs
- MailAddress.cs
- PropertyGridView.cs
- Crypto.cs
- Positioning.cs
- UpdateTranslator.cs
- XPathNodePointer.cs
- OleDbDataAdapter.cs
- MetadataFile.cs
- XamlDebuggerXmlReader.cs
- CodeArrayCreateExpression.cs
- DefaultBindingPropertyAttribute.cs