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
- DbFunctionCommandTree.cs
- HttpResponseHeader.cs
- AnonymousIdentificationSection.cs
- Timer.cs
- AtomMaterializer.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ItemsChangedEventArgs.cs
- LinqDataSourceDeleteEventArgs.cs
- ContainerControlDesigner.cs
- UnlockInstanceCommand.cs
- InlineObject.cs
- DrawingContextDrawingContextWalker.cs
- ComponentEditorForm.cs
- Button.cs
- SendKeys.cs
- FormViewUpdateEventArgs.cs
- FormViewPageEventArgs.cs
- FieldMetadata.cs
- CookieHandler.cs
- ReferenceConverter.cs
- ReliableOutputSessionChannel.cs
- BindingCompleteEventArgs.cs
- AnimationException.cs
- RemoveStoryboard.cs
- DocumentAutomationPeer.cs
- RelatedPropertyManager.cs
- DescendentsWalkerBase.cs
- PasswordTextContainer.cs
- RTLAwareMessageBox.cs
- DataGridRowAutomationPeer.cs
- PropagatorResult.cs
- WebPartDisplayModeEventArgs.cs
- NullableFloatMinMaxAggregationOperator.cs
- CheckBoxStandardAdapter.cs
- ScriptControl.cs
- PolyBezierSegmentFigureLogic.cs
- srgsitem.cs
- Visual3DCollection.cs
- SecurityPermission.cs
- IntPtr.cs
- HttpFileCollection.cs
- XmlLoader.cs
- SQLSingle.cs
- UIElement3D.cs
- HwndSource.cs
- GPRECTF.cs
- BindingValueChangedEventArgs.cs
- oledbmetadatacollectionnames.cs
- TraceListeners.cs
- FactoryMaker.cs
- Subordinate.cs
- Property.cs
- ControlPaint.cs
- ClientBuildManagerCallback.cs
- MatrixAnimationBase.cs
- PluralizationServiceUtil.cs
- EntityDataSourceDesignerHelper.cs
- Thread.cs
- XMLUtil.cs
- MenuStrip.cs
- Stack.cs
- LoadGrammarCompletedEventArgs.cs
- SimpleBitVector32.cs
- CodeDesigner.cs
- HtmlInputRadioButton.cs
- RTLAwareMessageBox.cs
- RewritingProcessor.cs
- TextCompositionManager.cs
- SchemaNamespaceManager.cs
- DataGridClipboardHelper.cs
- SettingsPropertyValueCollection.cs
- TextTreeTextBlock.cs
- ScriptComponentDescriptor.cs
- ConfigXmlElement.cs
- DnsPermission.cs
- DataContext.cs
- Nodes.cs
- ActivityPreviewDesigner.cs
- UnregisterInfo.cs
- ToolStripCodeDomSerializer.cs
- WindowsUpDown.cs
- UriExt.cs
- SymbolEqualComparer.cs
- KeyValueInternalCollection.cs
- HtmlForm.cs
- XmlValueConverter.cs
- regiisutil.cs
- ExpandableObjectConverter.cs
- PrePrepareMethodAttribute.cs
- XmlBindingWorker.cs
- AsyncCompletedEventArgs.cs
- DesignerSerializationVisibilityAttribute.cs
- VirtualDirectoryMappingCollection.cs
- recordstatefactory.cs
- TrustLevel.cs
- Geometry3D.cs
- BooleanAnimationUsingKeyFrames.cs
- FixedTextSelectionProcessor.cs
- WebConfigurationFileMap.cs
- Processor.cs