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
- BackgroundWorker.cs
- MergeLocalizationDirectives.cs
- PartBasedPackageProperties.cs
- XPathEmptyIterator.cs
- ClientBuildManagerCallback.cs
- GradientStop.cs
- DataSourceControl.cs
- XmlUrlResolver.cs
- Point.cs
- CollectionViewGroupInternal.cs
- WebPartManagerInternals.cs
- DataReceivedEventArgs.cs
- QueryStringParameter.cs
- PlaceHolder.cs
- FileController.cs
- UidPropertyAttribute.cs
- PathGradientBrush.cs
- DocumentViewerConstants.cs
- StylusPointPropertyInfo.cs
- TypedDataSourceCodeGenerator.cs
- DetailsViewPagerRow.cs
- ListViewAutomationPeer.cs
- ProgressPage.cs
- ContextDataSourceView.cs
- WebPartConnectionsCloseVerb.cs
- Oci.cs
- Mappings.cs
- XmlLinkedNode.cs
- HtmlInputImage.cs
- DefaultTextStoreTextComposition.cs
- BufferedWebEventProvider.cs
- DataGridViewRowEventArgs.cs
- CodeSubDirectory.cs
- ToggleProviderWrapper.cs
- Int32RectConverter.cs
- DurableInstancingOptions.cs
- OletxTransactionHeader.cs
- ObjectStateManagerMetadata.cs
- TypedElement.cs
- PersonalizationAdministration.cs
- HtmlInputPassword.cs
- DataGridViewElement.cs
- RetrieveVirtualItemEventArgs.cs
- PropertyCollection.cs
- OwnerDrawPropertyBag.cs
- WebPartTransformerCollection.cs
- BindingExpressionBase.cs
- DataViewListener.cs
- Splitter.cs
- EventToken.cs
- TextureBrush.cs
- ExpressionVisitor.cs
- DynamicQueryableWrapper.cs
- BindingList.cs
- EntityCommandDefinition.cs
- BindingContext.cs
- XPathParser.cs
- peersecurityelement.cs
- Error.cs
- XmlSchemaSimpleType.cs
- ClrPerspective.cs
- XmlSchemaRedefine.cs
- HtmlInputImage.cs
- ApplicationCommands.cs
- CalendarAutomationPeer.cs
- GroupBox.cs
- XPathNode.cs
- DiscriminatorMap.cs
- MobileControl.cs
- ObjectListShowCommandsEventArgs.cs
- FileDataSourceCache.cs
- ToolStripOverflow.cs
- ping.cs
- VectorKeyFrameCollection.cs
- BackoffTimeoutHelper.cs
- Predicate.cs
- Blend.cs
- WebFaultClientMessageInspector.cs
- ManipulationPivot.cs
- Profiler.cs
- ClientEndpointLoader.cs
- XmlReflectionImporter.cs
- PrintDocument.cs
- log.cs
- ZoomComboBox.cs
- X509Certificate.cs
- BuildResultCache.cs
- Separator.cs
- TextMessageEncodingElement.cs
- RequestUriProcessor.cs
- ADRole.cs
- AddressAlreadyInUseException.cs
- VirtualDirectoryMappingCollection.cs
- KnownAssemblyEntry.cs
- MatrixAnimationUsingKeyFrames.cs
- SqlNamer.cs
- ChannelManager.cs
- XPathNodeInfoAtom.cs
- ZipIORawDataFileBlock.cs
- DataGridComponentEditor.cs