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
- StoreItemCollection.cs
- ByteStreamGeometryContext.cs
- QuaternionIndependentAnimationStorage.cs
- LinearKeyFrames.cs
- SqlConnectionStringBuilder.cs
- XmlSchemaAnnotated.cs
- GridProviderWrapper.cs
- PathGradientBrush.cs
- XmlSchemaAnnotated.cs
- UrlPropertyAttribute.cs
- _CookieModule.cs
- WebPartRestoreVerb.cs
- XPathException.cs
- CapiHashAlgorithm.cs
- Atom10FormatterFactory.cs
- WindowsGrip.cs
- XamlSerializerUtil.cs
- Int32.cs
- MultiBinding.cs
- Attributes.cs
- DocumentSchemaValidator.cs
- SqlUtil.cs
- WebAdminConfigurationHelper.cs
- panel.cs
- DataViewSetting.cs
- Compilation.cs
- AttributeEmitter.cs
- InstancePersistenceContext.cs
- FixedSOMTextRun.cs
- DiscoveryOperationContextExtension.cs
- DataComponentGenerator.cs
- MemoryMappedFileSecurity.cs
- CroppedBitmap.cs
- XmlNamedNodeMap.cs
- PenLineCapValidation.cs
- CompleteWizardStep.cs
- ExpressionServices.cs
- SendMessageChannelCache.cs
- InternalSafeNativeMethods.cs
- LockedBorderGlyph.cs
- StylusPointProperty.cs
- GridViewUpdateEventArgs.cs
- InkPresenter.cs
- UrlAuthFailedErrorFormatter.cs
- CapiHashAlgorithm.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- InkPresenterAutomationPeer.cs
- SendMailErrorEventArgs.cs
- ReadWriteSpinLock.cs
- CompiledQueryCacheEntry.cs
- JoinGraph.cs
- MsmqElementBase.cs
- XmlSchemaSequence.cs
- CommentEmitter.cs
- CodeIdentifiers.cs
- _NetworkingPerfCounters.cs
- ApplicationProxyInternal.cs
- hresults.cs
- RSAPKCS1SignatureFormatter.cs
- ReflectionServiceProvider.cs
- DbUpdateCommandTree.cs
- TextPointerBase.cs
- NameNode.cs
- GeneratedContractType.cs
- DocumentSequence.cs
- Normalization.cs
- RequestQueue.cs
- Transform.cs
- RefreshPropertiesAttribute.cs
- DataGridColumnEventArgs.cs
- GridViewRowCollection.cs
- XPathCompileException.cs
- Calendar.cs
- sqlcontext.cs
- TdsParser.cs
- QilIterator.cs
- ParallelSeparator.xaml.cs
- TextOptions.cs
- CompilationUnit.cs
- EdmMember.cs
- ScrollContentPresenter.cs
- MethodInfo.cs
- ReturnEventArgs.cs
- DrawingAttributeSerializer.cs
- OutputCacheModule.cs
- AsymmetricKeyExchangeDeformatter.cs
- ParallelTimeline.cs
- XamlDesignerSerializationManager.cs
- CustomExpression.cs
- DataSysAttribute.cs
- XMLDiffLoader.cs
- DBCommand.cs
- ControlIdConverter.cs
- ControlCodeDomSerializer.cs
- ContainerActivationHelper.cs
- DataTemplate.cs
- InstanceCompleteException.cs
- Version.cs
- RemotingServices.cs
- WorkflowTransactionOptions.cs