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
- TextDecoration.cs
- RadioButton.cs
- TextDocumentView.cs
- SafeReversePInvokeHandle.cs
- ItemChangedEventArgs.cs
- CommandID.cs
- MailMessageEventArgs.cs
- HtmlCalendarAdapter.cs
- SelectedGridItemChangedEvent.cs
- FilterElement.cs
- ElementHost.cs
- ClonableStack.cs
- HtmlAnchor.cs
- ToolBar.cs
- ApplicationSecurityManager.cs
- FormattedText.cs
- arabicshape.cs
- PerfCounterSection.cs
- PtsContext.cs
- ColumnReorderedEventArgs.cs
- Stopwatch.cs
- ClientRolePrincipal.cs
- webproxy.cs
- WorkflowWebHostingModule.cs
- ByteStack.cs
- EncryptedXml.cs
- RuntimeHandles.cs
- InstanceDataCollection.cs
- HealthMonitoringSection.cs
- DockingAttribute.cs
- SecurityContextSecurityTokenParameters.cs
- StateBag.cs
- WindowsNonControl.cs
- LoginStatusDesigner.cs
- SQLDouble.cs
- FrameworkPropertyMetadata.cs
- JapaneseCalendar.cs
- GridView.cs
- ToolboxDataAttribute.cs
- SecureStringHasher.cs
- DataControlPagerLinkButton.cs
- WeakEventManager.cs
- DefaultEventAttribute.cs
- EventToken.cs
- cookieexception.cs
- Base64Stream.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- ContextDataSourceContextData.cs
- ColumnMapVisitor.cs
- DateTimeFormatInfo.cs
- DesignerVerb.cs
- Matrix.cs
- SizeConverter.cs
- FuncTypeConverter.cs
- PolyQuadraticBezierSegment.cs
- BatchServiceHost.cs
- _IPv4Address.cs
- NamedElement.cs
- ReadOnlyCollectionBase.cs
- UserInitiatedNavigationPermission.cs
- SmiXetterAccessMap.cs
- XmlBindingWorker.cs
- ExcludeFromCodeCoverageAttribute.cs
- DrawTreeNodeEventArgs.cs
- CompensatableSequenceActivity.cs
- CqlParserHelpers.cs
- CompiledRegexRunnerFactory.cs
- HtmlInputRadioButton.cs
- ObjectContextServiceProvider.cs
- DiscoveryClientProtocol.cs
- OleDbTransaction.cs
- EntitySqlQueryBuilder.cs
- ScriptModule.cs
- CookielessHelper.cs
- AnnotationAuthorChangedEventArgs.cs
- CodeDOMUtility.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- InputLanguageSource.cs
- ExternalException.cs
- Attribute.cs
- FileDialogCustomPlace.cs
- SerializationHelper.cs
- PathData.cs
- OrderByExpression.cs
- ToolStripDropDownClosingEventArgs.cs
- DecimalMinMaxAggregationOperator.cs
- DelayDesigner.cs
- BrushConverter.cs
- EdmPropertyAttribute.cs
- ScriptResourceHandler.cs
- ParseChildrenAsPropertiesAttribute.cs
- OdbcHandle.cs
- MultilineStringConverter.cs
- DBConcurrencyException.cs
- CodeChecksumPragma.cs
- TextTabProperties.cs
- InfoCardTraceRecord.cs
- BufferedWebEventProvider.cs
- ExpressionNode.cs
- MaskDescriptors.cs