Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- WebExceptionStatus.cs
- EntityDataSourceValidationException.cs
- CompositeFontFamily.cs
- PreservationFileReader.cs
- SizeLimitedCache.cs
- StringConverter.cs
- DrawingImage.cs
- RegexWorker.cs
- QilParameter.cs
- MsmqDiagnostics.cs
- EncoderReplacementFallback.cs
- CalendarDateRange.cs
- DynamicPropertyHolder.cs
- ContextProperty.cs
- HandleCollector.cs
- DynamicQueryStringParameter.cs
- ListComponentEditorPage.cs
- Maps.cs
- connectionpool.cs
- OdbcInfoMessageEvent.cs
- SoapObjectInfo.cs
- TypeConverterAttribute.cs
- ClientTargetCollection.cs
- CancelEventArgs.cs
- GZipStream.cs
- Font.cs
- RegexStringValidator.cs
- RegexCharClass.cs
- UnsafeNativeMethods.cs
- DrawingAttributes.cs
- BaseTreeIterator.cs
- HashSet.cs
- TypeElementCollection.cs
- BindingsCollection.cs
- FunctionParameter.cs
- DPTypeDescriptorContext.cs
- LineInfo.cs
- FixedSOMContainer.cs
- PositiveTimeSpanValidatorAttribute.cs
- PriorityItem.cs
- BookmarkEventArgs.cs
- DisableDpiAwarenessAttribute.cs
- ListDictionaryInternal.cs
- GridViewUpdatedEventArgs.cs
- GridViewCellAutomationPeer.cs
- WebContext.cs
- StrokeNodeOperations2.cs
- Ref.cs
- MemberAssignmentAnalysis.cs
- WsdlBuildProvider.cs
- MbpInfo.cs
- SmtpReplyReaderFactory.cs
- CacheDependency.cs
- RegexCharClass.cs
- DataGridTextBox.cs
- BlockCollection.cs
- Canvas.cs
- TextViewSelectionProcessor.cs
- ScriptReferenceEventArgs.cs
- UserControlBuildProvider.cs
- HttpStreams.cs
- ListDictionaryInternal.cs
- MessageProtectionOrder.cs
- OneOfScalarConst.cs
- EventLogPermissionEntry.cs
- VisualTreeUtils.cs
- WsdlBuildProvider.cs
- FontDialog.cs
- CalendarAutoFormatDialog.cs
- ResXResourceWriter.cs
- ZipIOLocalFileBlock.cs
- HtmlTableCell.cs
- Duration.cs
- UnsafeNativeMethods.cs
- FontStretch.cs
- PropertyGrid.cs
- ControlUtil.cs
- XmlTextAttribute.cs
- DataViewListener.cs
- ValidationResult.cs
- Transform.cs
- dataobject.cs
- TreeNodeMouseHoverEvent.cs
- ToolStripPanelRenderEventArgs.cs
- BatchParser.cs
- ServerValidateEventArgs.cs
- DefaultClaimSet.cs
- CallSiteBinder.cs
- WebDescriptionAttribute.cs
- System.Data_BID.cs
- InfoCardArgumentException.cs
- GB18030Encoding.cs
- TextPenaltyModule.cs
- Int32CAMarshaler.cs
- Wizard.cs
- WebPartManagerInternals.cs
- XmlSequenceWriter.cs
- ApplicationActivator.cs
- RotateTransform.cs
- CdpEqualityComparer.cs