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
- TraceHandler.cs
- SessionEndingCancelEventArgs.cs
- SqlCommandSet.cs
- RawMouseInputReport.cs
- Number.cs
- RecommendedAsConfigurableAttribute.cs
- MergePropertyDescriptor.cs
- DataSourceGeneratorException.cs
- KnownTypeDataContractResolver.cs
- PropertyManager.cs
- ResXResourceSet.cs
- GestureRecognizer.cs
- AsyncOperationManager.cs
- InstanceDescriptor.cs
- MailSettingsSection.cs
- SID.cs
- App.cs
- ColumnTypeConverter.cs
- HelpInfo.cs
- WrappedIUnknown.cs
- CodeSnippetExpression.cs
- OleDbWrapper.cs
- SqlXmlStorage.cs
- MethodExpr.cs
- QueryCursorEventArgs.cs
- SimpleType.cs
- SafeEventLogWriteHandle.cs
- CheckBoxStandardAdapter.cs
- ComponentManagerBroker.cs
- Config.cs
- DataPagerFieldCommandEventArgs.cs
- AssemblyResolver.cs
- TextServicesManager.cs
- DataGridViewCellEventArgs.cs
- LinqDataSourceValidationException.cs
- ECDiffieHellman.cs
- LowerCaseStringConverter.cs
- FilteredXmlReader.cs
- TransportationConfigurationTypeInstallComponent.cs
- CqlLexer.cs
- PanelStyle.cs
- Camera.cs
- HttpFileCollection.cs
- RC2.cs
- FtpWebRequest.cs
- LinqMaximalSubtreeNominator.cs
- WmlPageAdapter.cs
- SelectionPatternIdentifiers.cs
- UniqueIdentifierService.cs
- ByteAnimationBase.cs
- SecurityListenerSettingsLifetimeManager.cs
- AssociativeAggregationOperator.cs
- _ChunkParse.cs
- TextDecoration.cs
- VersionedStreamOwner.cs
- TextEndOfSegment.cs
- AttachmentCollection.cs
- DetailsViewRow.cs
- ThreadStaticAttribute.cs
- Model3DGroup.cs
- TextComposition.cs
- ProviderConnectionPoint.cs
- HtmlImage.cs
- NamespaceEmitter.cs
- TreeNodeCollectionEditor.cs
- ConfigXmlText.cs
- ContentElementCollection.cs
- ComplexBindingPropertiesAttribute.cs
- IFlowDocumentViewer.cs
- SecurityTokenParametersEnumerable.cs
- DataSet.cs
- CheckBoxList.cs
- DependencyStoreSurrogate.cs
- ContentOperations.cs
- TypeInfo.cs
- OracleLob.cs
- relpropertyhelper.cs
- Stackframe.cs
- InkCanvasSelectionAdorner.cs
- SmiEventSink_DeferedProcessing.cs
- UnconditionalPolicy.cs
- ParagraphResult.cs
- EditableLabelControl.cs
- Normalization.cs
- FlowDocumentPaginator.cs
- BuildProviderAppliesToAttribute.cs
- WorkflowControlClient.cs
- DataSourceHelper.cs
- XmlDomTextWriter.cs
- AssemblyUtil.cs
- FactoryMaker.cs
- PolygonHotSpot.cs
- CustomTypeDescriptor.cs
- DecoderReplacementFallback.cs
- HtmlInputPassword.cs
- MsmqOutputChannel.cs
- PackageFilter.cs
- ContainsRowNumberChecker.cs
- XmlNodeReader.cs
- State.cs