Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PageStatePersister.cs
- SqlXmlStorage.cs
- MouseWheelEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- ObjectDataSourceSelectingEventArgs.cs
- MsmqIntegrationElement.cs
- FixedPageAutomationPeer.cs
- BitConverter.cs
- PrimitiveOperationFormatter.cs
- Constants.cs
- SqlNodeAnnotation.cs
- WebPartTracker.cs
- Utils.cs
- StateDesigner.TransitionInfo.cs
- BufferModeSettings.cs
- InkSerializer.cs
- ObjectStateManagerMetadata.cs
- DbMetaDataCollectionNames.cs
- HttpClientCertificate.cs
- TemplateField.cs
- TextRunCache.cs
- ConnectionPointGlyph.cs
- TextComposition.cs
- ObjectDataSourceSelectingEventArgs.cs
- CqlQuery.cs
- DbTransaction.cs
- StaticFileHandler.cs
- shaper.cs
- ExpressionTextBoxAutomationPeer.cs
- DelegatingConfigHost.cs
- QilBinary.cs
- TextRangeEdit.cs
- Button.cs
- CheckBoxAutomationPeer.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- PropertyGrid.cs
- SchemaAttDef.cs
- NativeMethods.cs
- MouseActionConverter.cs
- CompositeScriptReferenceEventArgs.cs
- DependentList.cs
- ApplicationBuildProvider.cs
- FileEnumerator.cs
- SimpleHandlerFactory.cs
- DataGridCellInfo.cs
- QilTypeChecker.cs
- ProviderSettingsCollection.cs
- UserPrincipalNameElement.cs
- BinaryMethodMessage.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- SecurityHelper.cs
- RowVisual.cs
- _ConnectOverlappedAsyncResult.cs
- PrintPreviewControl.cs
- OperationResponse.cs
- BatchWriter.cs
- DataGridState.cs
- MsmqInputChannel.cs
- XmlMapping.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- FixedPageAutomationPeer.cs
- ScrollChrome.cs
- DecoderFallbackWithFailureFlag.cs
- COSERVERINFO.cs
- DataObject.cs
- TypeDefinition.cs
- UnmanagedMemoryStreamWrapper.cs
- Int32CAMarshaler.cs
- DbConnectionStringBuilder.cs
- ListViewCancelEventArgs.cs
- selecteditemcollection.cs
- CustomActivityDesigner.cs
- CheckBoxAutomationPeer.cs
- DataGridrowEditEndingEventArgs.cs
- ArgumentOutOfRangeException.cs
- GridViewSortEventArgs.cs
- AsyncStreamReader.cs
- PropertiesTab.cs
- RadioButtonStandardAdapter.cs
- SafeRightsManagementQueryHandle.cs
- FormViewPageEventArgs.cs
- CustomWebEventKey.cs
- ArrayWithOffset.cs
- MailWebEventProvider.cs
- DoubleSumAggregationOperator.cs
- CryptoProvider.cs
- TagPrefixAttribute.cs
- SafeFileHandle.cs
- TraceSource.cs
- XamlGridLengthSerializer.cs
- X509WindowsSecurityToken.cs
- _Connection.cs
- AuthenticationConfig.cs
- UserControl.cs
- SQlBooleanStorage.cs
- UdpRetransmissionSettings.cs
- ReplacementText.cs
- Msmq4SubqueuePoisonHandler.cs
- Int16Storage.cs
- Sql8ExpressionRewriter.cs