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
- DesignerTransaction.cs
- InputElement.cs
- XPathSelfQuery.cs
- FileNotFoundException.cs
- MultiPageTextView.cs
- safesecurityhelperavalon.cs
- ListBoxChrome.cs
- RegisteredHiddenField.cs
- AttributeCollection.cs
- LockRenewalTask.cs
- CodeAssignStatement.cs
- UnsafeNativeMethods.cs
- Normalization.cs
- FixedHighlight.cs
- Path.cs
- NameValueSectionHandler.cs
- ZeroOpNode.cs
- DBConnectionString.cs
- GridErrorDlg.cs
- SqlUserDefinedAggregateAttribute.cs
- ParentUndoUnit.cs
- DataGridViewColumnStateChangedEventArgs.cs
- XPathArrayIterator.cs
- DataReaderContainer.cs
- XmlWriterSettings.cs
- regiisutil.cs
- SchemaCollectionPreprocessor.cs
- EventSource.cs
- AnnouncementEventArgs.cs
- AppDomainCompilerProxy.cs
- FileDialog.cs
- QilPatternVisitor.cs
- HtmlToClrEventProxy.cs
- DrawingServices.cs
- SHA256Cng.cs
- SessionPageStateSection.cs
- SqlConnectionFactory.cs
- ContentTextAutomationPeer.cs
- CompilerGlobalScopeAttribute.cs
- VirtualDirectoryMapping.cs
- webeventbuffer.cs
- SRGSCompiler.cs
- ReadOnlyCollection.cs
- ControlAdapter.cs
- FixedPageAutomationPeer.cs
- Classification.cs
- SchemaEntity.cs
- ListBoxAutomationPeer.cs
- SoapAttributeOverrides.cs
- SecurityResources.cs
- CutCopyPasteHelper.cs
- WebPartsPersonalization.cs
- XamlToRtfWriter.cs
- BoundPropertyEntry.cs
- SwitchAttribute.cs
- relpropertyhelper.cs
- GB18030Encoding.cs
- BooleanExpr.cs
- SerializationAttributes.cs
- ClrProviderManifest.cs
- SoapInteropTypes.cs
- UnsafeCollabNativeMethods.cs
- TimeoutValidationAttribute.cs
- SmtpTransport.cs
- KeySplineConverter.cs
- AssemblyBuilderData.cs
- ProfileInfo.cs
- _KerberosClient.cs
- OdbcEnvironment.cs
- ConnectionStringsExpressionBuilder.cs
- PagerSettings.cs
- AvTrace.cs
- LineServicesCallbacks.cs
- IIS7UserPrincipal.cs
- SrgsGrammarCompiler.cs
- FileLogRecordEnumerator.cs
- ALinqExpressionVisitor.cs
- UserPreferenceChangedEventArgs.cs
- EmptyEnumerator.cs
- InvocationExpression.cs
- Models.cs
- streamingZipPartStream.cs
- TableStyle.cs
- SqlBooleanMismatchVisitor.cs
- PathSegment.cs
- ClientRuntimeConfig.cs
- AssemblyCache.cs
- CurrencyWrapper.cs
- CodeVariableReferenceExpression.cs
- ToolStripDropTargetManager.cs
- RemotingSurrogateSelector.cs
- Utility.cs
- HtmlElement.cs
- TemplateControlCodeDomTreeGenerator.cs
- ScriptManager.cs
- XPathAncestorIterator.cs
- Nullable.cs
- XmlSchemaSimpleContentExtension.cs
- TemplateField.cs
- ParallelTimeline.cs