Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ResourceManager.cs
- WizardStepBase.cs
- ConfigurationPermission.cs
- Latin1Encoding.cs
- PageContent.cs
- CorrelationKey.cs
- _Semaphore.cs
- Listbox.cs
- EntityProviderServices.cs
- CompositeActivityCodeGenerator.cs
- VisualBrush.cs
- Control.cs
- DescendentsWalkerBase.cs
- WebPartTracker.cs
- ZipIOExtraFieldElement.cs
- MemberListBinding.cs
- EdmToObjectNamespaceMap.cs
- DateTime.cs
- RecommendedAsConfigurableAttribute.cs
- TemplateComponentConnector.cs
- RepeatInfo.cs
- AsymmetricCryptoHandle.cs
- CatalogPart.cs
- xmlglyphRunInfo.cs
- DataGridViewRowCancelEventArgs.cs
- DateTimeConverter2.cs
- XmlNamedNodeMap.cs
- JsonFormatReaderGenerator.cs
- InterleavedZipPartStream.cs
- AvtEvent.cs
- XmlSchemaImport.cs
- NoneExcludedImageIndexConverter.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SerializationFieldInfo.cs
- querybuilder.cs
- HwndAppCommandInputProvider.cs
- SqlBooleanMismatchVisitor.cs
- RunInstallerAttribute.cs
- DataGridViewMethods.cs
- SqlDataSourceStatusEventArgs.cs
- SqlCommandBuilder.cs
- NewExpression.cs
- UpdateManifestForBrowserApplication.cs
- BinaryMethodMessage.cs
- ModifiableIteratorCollection.cs
- ZipIOCentralDirectoryFileHeader.cs
- TextBox.cs
- ActivityExecutionFilter.cs
- ProcessModule.cs
- TrackingMemoryStreamFactory.cs
- RegistrationServices.cs
- TextServicesCompartmentContext.cs
- EntityContainerRelationshipSetEnd.cs
- XmlSchemaNotation.cs
- Rect.cs
- TextEndOfSegment.cs
- EventLogEntry.cs
- XmlDataDocument.cs
- HttpCacheVaryByContentEncodings.cs
- XmlByteStreamWriter.cs
- XPathExpr.cs
- _NestedSingleAsyncResult.cs
- ApplicationSecurityManager.cs
- OdbcTransaction.cs
- StringConcat.cs
- MobileCapabilities.cs
- ConversionHelper.cs
- Tracer.cs
- PriorityItem.cs
- ImageClickEventArgs.cs
- IncrementalReadDecoders.cs
- AbsoluteQuery.cs
- EventSource.cs
- TimerElapsedEvenArgs.cs
- DragAssistanceManager.cs
- SystemIcmpV6Statistics.cs
- ColorConverter.cs
- StringExpressionSet.cs
- TypeConstant.cs
- ObjectView.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ToolBarOverflowPanel.cs
- ResolveNameEventArgs.cs
- SoapHeaders.cs
- Highlights.cs
- Comparer.cs
- DbConnectionPoolOptions.cs
- KeyInstance.cs
- GZipDecoder.cs
- FilteredSchemaElementLookUpTable.cs
- SchemaImporter.cs
- isolationinterop.cs
- SrgsItemList.cs
- ShimAsPublicXamlType.cs
- PickDesigner.xaml.cs
- FormsAuthentication.cs
- GeneratedContractType.cs
- ConfigurationLockCollection.cs
- ResourcePermissionBaseEntry.cs
- PageBuildProvider.cs