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
- DoubleSumAggregationOperator.cs
- DrawingImage.cs
- JoinQueryOperator.cs
- DataRelationCollection.cs
- RegexMatch.cs
- ParallelActivityDesigner.cs
- WindowsStatic.cs
- EncoderFallback.cs
- InProcStateClientManager.cs
- WebPartMenuStyle.cs
- LabelLiteral.cs
- CollectionChangedEventManager.cs
- XPathSelectionIterator.cs
- FlowDocumentReaderAutomationPeer.cs
- TransformPattern.cs
- InternalBase.cs
- UpDownEvent.cs
- TransformerInfo.cs
- PersonalizablePropertyEntry.cs
- AttributeCollection.cs
- ModelFactory.cs
- RegistryPermission.cs
- DataGridViewDataConnection.cs
- PermissionSet.cs
- DynamicDocumentPaginator.cs
- DBCommand.cs
- BitmapMetadataEnumerator.cs
- SystemInfo.cs
- ManualResetEvent.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ToolStripStatusLabel.cs
- DbExpressionRules.cs
- TransformerInfo.cs
- DataGridViewRowConverter.cs
- FixedSchema.cs
- ItemChangedEventArgs.cs
- ReflectionHelper.cs
- ServiceDescriptionData.cs
- TargetControlTypeAttribute.cs
- _RequestCacheProtocol.cs
- Header.cs
- Graph.cs
- TextServicesPropertyRanges.cs
- ChildrenQuery.cs
- RawStylusActions.cs
- NumberFunctions.cs
- BulletedListEventArgs.cs
- DocumentReference.cs
- BasicViewGenerator.cs
- WindowsEditBoxRange.cs
- ScriptControl.cs
- ThicknessConverter.cs
- TreeNodeCollection.cs
- MetadataException.cs
- ZipFileInfoCollection.cs
- SessionPageStatePersister.cs
- SecondaryViewProvider.cs
- Registry.cs
- InsufficientMemoryException.cs
- SendingRequestEventArgs.cs
- EntityDesignerDataSourceView.cs
- FileNotFoundException.cs
- ImageList.cs
- DataGridTextBox.cs
- ListControl.cs
- TextElementCollectionHelper.cs
- MailSettingsSection.cs
- ResXResourceReader.cs
- SqlCacheDependencySection.cs
- DbDataSourceEnumerator.cs
- SecurityToken.cs
- SettingsPropertyIsReadOnlyException.cs
- TimeIntervalCollection.cs
- HtmlEmptyTagControlBuilder.cs
- PersonalizationEntry.cs
- LocalizableAttribute.cs
- CommonGetThemePartSize.cs
- ScriptingSectionGroup.cs
- OdbcReferenceCollection.cs
- OdbcConnectionHandle.cs
- PauseStoryboard.cs
- ErrorRuntimeConfig.cs
- FastEncoderStatics.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- QueryExpr.cs
- ProxyHwnd.cs
- MarginsConverter.cs
- RegisteredScript.cs
- ConfigurationManagerInternal.cs
- DateTimeFormat.cs
- TokenBasedSetEnumerator.cs
- DBConnection.cs
- FormViewPagerRow.cs
- TTSVoice.cs
- DefaultAssemblyResolver.cs
- fixedPageContentExtractor.cs
- SourceInterpreter.cs
- ListViewGroupItemCollection.cs
- TemplateManager.cs
- Exceptions.cs