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
- ValidatorCompatibilityHelper.cs
- StrongNameMembershipCondition.cs
- DrawItemEvent.cs
- TaskFileService.cs
- GridViewUpdateEventArgs.cs
- DataGridViewButtonColumn.cs
- TableChangeProcessor.cs
- ParameterCollection.cs
- XmlNavigatorStack.cs
- GridView.cs
- Resources.Designer.cs
- TextOptions.cs
- Brush.cs
- QueueProcessor.cs
- ReadOnlyDataSourceView.cs
- CriticalFinalizerObject.cs
- VisualBrush.cs
- RequestNavigateEventArgs.cs
- ListView.cs
- TraceFilter.cs
- BinaryReader.cs
- InvalidOperationException.cs
- XmlLangPropertyAttribute.cs
- AnnotationDocumentPaginator.cs
- RepeaterCommandEventArgs.cs
- WsiProfilesElementCollection.cs
- SignedPkcs7.cs
- SystemUnicastIPAddressInformation.cs
- WebSysDefaultValueAttribute.cs
- TransferRequestHandler.cs
- PropertyDescriptorGridEntry.cs
- CoTaskMemHandle.cs
- HwndHost.cs
- RoleManagerEventArgs.cs
- WindowInteractionStateTracker.cs
- ComplexPropertyEntry.cs
- StringExpressionSet.cs
- TextParagraph.cs
- PartitionResolver.cs
- CellCreator.cs
- Help.cs
- UrlAuthFailedErrorFormatter.cs
- WebRequestModulesSection.cs
- Debug.cs
- CodeTypeParameterCollection.cs
- StorageMappingFragment.cs
- InputBinder.cs
- DataTableReaderListener.cs
- FormViewActionList.cs
- XmlSerializableWriter.cs
- TriggerActionCollection.cs
- DefaultPropertyAttribute.cs
- Variant.cs
- PingReply.cs
- EmulateRecognizeCompletedEventArgs.cs
- Bitmap.cs
- CfgArc.cs
- MimeMultiPart.cs
- TagMapInfo.cs
- HtmlHead.cs
- AffineTransform3D.cs
- loginstatus.cs
- ServicePerformanceCounters.cs
- XmlSchemaSimpleContentRestriction.cs
- CompositeCollectionView.cs
- ListViewGroupConverter.cs
- DropDownList.cs
- CategoryGridEntry.cs
- RecognizedWordUnit.cs
- ExportException.cs
- ValueUnavailableException.cs
- CreateUserErrorEventArgs.cs
- SafePointer.cs
- Decoder.cs
- CompositionTarget.cs
- localization.cs
- SortExpressionBuilder.cs
- CodeAssignStatement.cs
- SystemIPAddressInformation.cs
- WhitespaceSignificantCollectionAttribute.cs
- BitmapScalingModeValidation.cs
- FrameworkElementFactory.cs
- LogWriteRestartAreaAsyncResult.cs
- SharedUtils.cs
- RowUpdatingEventArgs.cs
- Convert.cs
- UnmanagedBitmapWrapper.cs
- RenderData.cs
- ReflectionPermission.cs
- LocalizedNameDescriptionPair.cs
- DataBinder.cs
- WebCategoryAttribute.cs
- Schema.cs
- BufferBuilder.cs
- JournalNavigationScope.cs
- DbExpressionRules.cs
- uribuilder.cs
- DataSourceXmlClassAttribute.cs
- ZipIOCentralDirectoryBlock.cs
- RadioButtonPopupAdapter.cs