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
- StringDictionary.cs
- WinFormsComponentEditor.cs
- ControlTemplate.cs
- MemberProjectionIndex.cs
- Vars.cs
- DataGridViewDataConnection.cs
- BaseParser.cs
- Freezable.cs
- SemanticResultKey.cs
- ArgumentDesigner.xaml.cs
- ZoomPercentageConverter.cs
- TextFormatterContext.cs
- MimeBasePart.cs
- AsyncPostBackErrorEventArgs.cs
- SafeNativeMethods.cs
- Context.cs
- RequestBringIntoViewEventArgs.cs
- OleDbReferenceCollection.cs
- XPathNavigatorReader.cs
- SmiContext.cs
- DataGridTextBox.cs
- Trace.cs
- ImpersonationContext.cs
- SchemaCollectionCompiler.cs
- FlowDocumentReaderAutomationPeer.cs
- peersecurityelement.cs
- QilPatternFactory.cs
- VectorAnimationUsingKeyFrames.cs
- BinHexEncoder.cs
- ErrorStyle.cs
- PopupRoot.cs
- LogLogRecord.cs
- ListViewTableCell.cs
- ItemMap.cs
- SystemInformation.cs
- LoginNameDesigner.cs
- BaseTemplateParser.cs
- WindowClosedEventArgs.cs
- QueryOpeningEnumerator.cs
- AspCompat.cs
- TemplatedMailWebEventProvider.cs
- RemotingAttributes.cs
- NullableFloatAverageAggregationOperator.cs
- CustomAssemblyResolver.cs
- TypeInitializationException.cs
- DocumentGrid.cs
- ResourcePool.cs
- FormViewRow.cs
- BinaryFormatterWriter.cs
- GridPattern.cs
- StdValidatorsAndConverters.cs
- TabItemAutomationPeer.cs
- DropShadowEffect.cs
- SqlConnectionFactory.cs
- EditCommandColumn.cs
- SecurityAlgorithmSuiteConverter.cs
- ExtendedProperty.cs
- ActivationServices.cs
- LineSegment.cs
- LabelInfo.cs
- _TransmitFileOverlappedAsyncResult.cs
- BitmapScalingModeValidation.cs
- ToolstripProfessionalRenderer.cs
- NeutralResourcesLanguageAttribute.cs
- Transform3D.cs
- TdsParserStateObject.cs
- HMACSHA384.cs
- DesignerActionListCollection.cs
- KeyedHashAlgorithm.cs
- FontClient.cs
- SqlDataSource.cs
- ReadOnlyDataSource.cs
- CorruptStoreException.cs
- DockProviderWrapper.cs
- XmlByteStreamWriter.cs
- input.cs
- PathFigureCollectionConverter.cs
- isolationinterop.cs
- Array.cs
- SamlAssertion.cs
- ResourceAttributes.cs
- ElementNotEnabledException.cs
- RegexCompilationInfo.cs
- RegexWriter.cs
- SuppressMergeCheckAttribute.cs
- ExceptionUtil.cs
- AssemblyAttributesGoHere.cs
- FileDialogCustomPlace.cs
- MarshalDirectiveException.cs
- WebConfigManager.cs
- SoapTypeAttribute.cs
- SafeThreadHandle.cs
- StrokeNode.cs
- AuthorizationContext.cs
- EncryptedPackage.cs
- RuleSettings.cs
- SafeThemeHandle.cs
- AbstractSvcMapFileLoader.cs
- ButtonRenderer.cs
- ContentValidator.cs