Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / AmbientLight.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- JournalEntry.cs
- Geometry3D.cs
- _SpnDictionary.cs
- EntryPointNotFoundException.cs
- Brush.cs
- DataGridColumnHeader.cs
- OracleTimeSpan.cs
- SqlUserDefinedAggregateAttribute.cs
- QilPatternVisitor.cs
- HttpProtocolReflector.cs
- Compiler.cs
- BrowsableAttribute.cs
- TimeoutException.cs
- SimpleRecyclingCache.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- DesignerHelpers.cs
- ServerValidateEventArgs.cs
- StorageScalarPropertyMapping.cs
- WebBrowserHelper.cs
- DoubleConverter.cs
- PaintValueEventArgs.cs
- AnnotationAdorner.cs
- ToolStripTextBox.cs
- XmlAtomicValue.cs
- SqlAliasesReferenced.cs
- DebugHandleTracker.cs
- Material.cs
- ExpressionPrefixAttribute.cs
- ObjectParameter.cs
- VirtualizedContainerService.cs
- HostingPreferredMapPath.cs
- SerialPinChanges.cs
- ConstantExpression.cs
- CompatibleComparer.cs
- StdRegProviderWrapper.cs
- TraceSection.cs
- TaskHelper.cs
- CodeBinaryOperatorExpression.cs
- SessionKeyExpiredException.cs
- CommandTreeTypeHelper.cs
- DataRecordInfo.cs
- CodeNamespaceCollection.cs
- DefaultTextStore.cs
- AccessibleObject.cs
- WebHttpSecurityModeHelper.cs
- PersonalizationStateInfo.cs
- EntityProviderServices.cs
- ConnectionOrientedTransportBindingElement.cs
- XmlQueryStaticData.cs
- CDSsyncETWBCLProvider.cs
- SqlRowUpdatedEvent.cs
- SmiRequestExecutor.cs
- FormViewDeleteEventArgs.cs
- Automation.cs
- MenuItemBindingCollection.cs
- DataChangedEventManager.cs
- OleAutBinder.cs
- MembershipSection.cs
- HwndAppCommandInputProvider.cs
- CryptoStream.cs
- SchemaExporter.cs
- CookieProtection.cs
- serverconfig.cs
- MenuItemAutomationPeer.cs
- ListView.cs
- Rotation3D.cs
- SqlWriter.cs
- ListControl.cs
- SmiMetaData.cs
- FileLogRecordHeader.cs
- SmiMetaData.cs
- UnsafeNativeMethodsTablet.cs
- SecurityState.cs
- FixUp.cs
- QueryExpression.cs
- BroadcastEventHelper.cs
- TypeGeneratedEventArgs.cs
- ListBox.cs
- TextShapeableCharacters.cs
- UpdateCommandGenerator.cs
- SQLCharsStorage.cs
- FontStyles.cs
- SqlDelegatedTransaction.cs
- ObjectViewListener.cs
- XmlArrayItemAttributes.cs
- ResourceProviderFactory.cs
- OwnerDrawPropertyBag.cs
- ChangeNode.cs
- FileRecordSequence.cs
- TickBar.cs
- JpegBitmapDecoder.cs
- TextBounds.cs
- Accessible.cs
- MetadataItem.cs
- CssStyleCollection.cs
- HttpRuntimeSection.cs
- Table.cs
- XPathConvert.cs
- InternalBase.cs
- FaultContractInfo.cs