Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ContractMethodParameterInfo.cs
- QuaternionAnimation.cs
- CryptoProvider.cs
- ServiceModelPerformanceCounters.cs
- Schedule.cs
- ContentType.cs
- TableCellCollection.cs
- TextSelectionHighlightLayer.cs
- MeasureItemEvent.cs
- MonthCalendar.cs
- ITreeGenerator.cs
- MessageEventSubscriptionService.cs
- CompiledRegexRunnerFactory.cs
- formatter.cs
- SamlAuthenticationStatement.cs
- BooleanExpr.cs
- RemoteWebConfigurationHostServer.cs
- XmlUtil.cs
- XmlQueryStaticData.cs
- Renderer.cs
- ImageListStreamer.cs
- CompatibleIComparer.cs
- FragmentQueryProcessor.cs
- Image.cs
- printdlgexmarshaler.cs
- MarkupCompilePass2.cs
- GraphicsPath.cs
- LinearGradientBrush.cs
- CodeTypeDelegate.cs
- DataStreamFromComStream.cs
- TreeNode.cs
- StrokeNodeEnumerator.cs
- XmlSequenceWriter.cs
- CrossSiteScriptingValidation.cs
- EpmCustomContentSerializer.cs
- WindowHideOrCloseTracker.cs
- LowerCaseStringConverter.cs
- DnsPermission.cs
- CompositeCollectionView.cs
- GifBitmapEncoder.cs
- InternalPolicyElement.cs
- ToolBarButtonClickEvent.cs
- PackageStore.cs
- TextDecorationLocationValidation.cs
- Transform.cs
- CompressStream.cs
- FormsAuthenticationTicket.cs
- ConfigXmlSignificantWhitespace.cs
- WebEventCodes.cs
- SecurityBindingElementImporter.cs
- SpecularMaterial.cs
- JsonFormatGeneratorStatics.cs
- SizeIndependentAnimationStorage.cs
- odbcmetadatacollectionnames.cs
- ListViewItem.cs
- TemplateEditingVerb.cs
- BrowserCapabilitiesCodeGenerator.cs
- RoutedEventHandlerInfo.cs
- ObjectAnimationUsingKeyFrames.cs
- LocationUpdates.cs
- Vector.cs
- PrinterResolution.cs
- DependencyPropertyHelper.cs
- MailDefinition.cs
- WmlMobileTextWriter.cs
- XmlUTF8TextWriter.cs
- EntityContainerRelationshipSetEnd.cs
- AtomServiceDocumentSerializer.cs
- HorizontalAlignConverter.cs
- WebDescriptionAttribute.cs
- ThicknessAnimation.cs
- StylusShape.cs
- CryptoHelper.cs
- OracleDataAdapter.cs
- ReaderOutput.cs
- SelectiveScrollingGrid.cs
- SystemWebExtensionsSectionGroup.cs
- UidManager.cs
- XamlInt32CollectionSerializer.cs
- ListItemDetailViewAttribute.cs
- HtmlTable.cs
- AsymmetricAlgorithm.cs
- ConstraintConverter.cs
- ArgumentException.cs
- FixedPageStructure.cs
- ISAPIApplicationHost.cs
- XmlComplianceUtil.cs
- ConfigurationSettings.cs
- XmlSerializerVersionAttribute.cs
- Double.cs
- SurrogateEncoder.cs
- CodeLinePragma.cs
- DataGridViewHitTestInfo.cs
- SmtpNetworkElement.cs
- SiteMapNode.cs
- ConfigurationStrings.cs
- TemplateXamlTreeBuilder.cs
- HtmlUtf8RawTextWriter.cs
- DataContext.cs
- DataObjectEventArgs.cs