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
- AsymmetricSignatureFormatter.cs
- ILGenerator.cs
- Timeline.cs
- DbParameterCollectionHelper.cs
- DataGridViewAdvancedBorderStyle.cs
- TraceSource.cs
- EntityRecordInfo.cs
- DataPagerFieldCommandEventArgs.cs
- AppSettingsSection.cs
- BooleanToVisibilityConverter.cs
- Range.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CellConstantDomain.cs
- PropertyTab.cs
- FlowDocumentReader.cs
- MsmqIntegrationProcessProtocolHandler.cs
- TypefaceMap.cs
- WebPartEditorOkVerb.cs
- FilterException.cs
- DbConnectionPool.cs
- PropertyValueEditor.cs
- InheritablePropertyChangeInfo.cs
- RuntimeConfig.cs
- ChannelReliableSession.cs
- CaseStatement.cs
- Pen.cs
- FontWeight.cs
- WebConfigurationHost.cs
- ProfessionalColorTable.cs
- MethodBuilderInstantiation.cs
- ListBoxItem.cs
- PlatformCulture.cs
- HybridObjectCache.cs
- ImageSourceValueSerializer.cs
- BindingExpressionUncommonField.cs
- XmlSiteMapProvider.cs
- InputMethod.cs
- SymbolEqualComparer.cs
- TypeDescriptionProvider.cs
- safelinkcollection.cs
- CacheVirtualItemsEvent.cs
- srgsitem.cs
- MatrixConverter.cs
- WorkflowRuntimeService.cs
- DecoderFallbackWithFailureFlag.cs
- RuleSetCollection.cs
- XmlSchemaInclude.cs
- Int64KeyFrameCollection.cs
- PeerNameRecord.cs
- LockedBorderGlyph.cs
- ImageUrlEditor.cs
- SectionInformation.cs
- HtmlValidatorAdapter.cs
- CookieParameter.cs
- LingerOption.cs
- SecurityBindingElement.cs
- Camera.cs
- CFStream.cs
- WindowPattern.cs
- DecimalAnimationUsingKeyFrames.cs
- DependencyObjectCodeDomSerializer.cs
- AdornedElementPlaceholder.cs
- MsdtcWrapper.cs
- HtmlInputHidden.cs
- TextRenderer.cs
- XmlAttributes.cs
- TextServicesCompartmentEventSink.cs
- HttpRequest.cs
- TypeInfo.cs
- PartManifestEntry.cs
- controlskin.cs
- CacheMemory.cs
- nulltextcontainer.cs
- WindowShowOrOpenTracker.cs
- CompositeTypefaceMetrics.cs
- DataViewListener.cs
- ColorAnimation.cs
- RelationshipEndMember.cs
- WebPartUserCapability.cs
- DesignerSerializerAttribute.cs
- FieldBuilder.cs
- TableSectionStyle.cs
- HandlerFactoryCache.cs
- GatewayDefinition.cs
- DataServiceConfiguration.cs
- ConfigXmlCDataSection.cs
- ImplicitInputBrush.cs
- BitmapCache.cs
- WindowsListViewGroupSubsetLink.cs
- DataObjectEventArgs.cs
- StatusBarItem.cs
- TypeTypeConverter.cs
- WindowsComboBox.cs
- XmlElementList.cs
- Wildcard.cs
- StorageModelBuildProvider.cs
- SQLSingleStorage.cs
- MSHTMLHost.cs
- TemplatingOptionsDialog.cs
- DateTimeConstantAttribute.cs