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
- FeatureManager.cs
- Pkcs7Recipient.cs
- XPathEmptyIterator.cs
- BindingsCollection.cs
- TrustLevel.cs
- TextPatternIdentifiers.cs
- CommonDialog.cs
- CommandPlan.cs
- CertificateManager.cs
- AnonymousIdentificationSection.cs
- LabelInfo.cs
- HtmlInputButton.cs
- MsdtcClusterUtils.cs
- EntityKeyElement.cs
- TransformerInfoCollection.cs
- CqlParser.cs
- SqlLiftIndependentRowExpressions.cs
- FuncTypeConverter.cs
- GcSettings.cs
- BrowserCapabilitiesCompiler.cs
- RuntimeHelpers.cs
- Vector3DAnimationBase.cs
- ListDataBindEventArgs.cs
- Metadata.cs
- UserPreferenceChangingEventArgs.cs
- DocumentApplicationJournalEntry.cs
- PrivilegeNotHeldException.cs
- WCFModelStrings.Designer.cs
- MsmqIntegrationOutputChannel.cs
- XmlTextEncoder.cs
- ToolBarButtonClickEvent.cs
- Console.cs
- WebPartsPersonalization.cs
- AdapterUtil.cs
- ListView.cs
- UpdatePanelTrigger.cs
- UserControlBuildProvider.cs
- PagedDataSource.cs
- XmlFormatWriterGenerator.cs
- SQLInt64Storage.cs
- DataSysAttribute.cs
- TimerExtension.cs
- FrameworkContentElement.cs
- ContextMenuStrip.cs
- VariantWrapper.cs
- TypeName.cs
- ResourcePermissionBase.cs
- LassoSelectionBehavior.cs
- DeleteStoreRequest.cs
- IHttpResponseInternal.cs
- CookieProtection.cs
- SecurityNegotiationException.cs
- Point3DAnimation.cs
- MaskDesignerDialog.cs
- DocumentViewerAutomationPeer.cs
- LiteralControl.cs
- DynamicRouteExpression.cs
- UrlAuthorizationModule.cs
- ConvertEvent.cs
- _OSSOCK.cs
- InputElement.cs
- ControlsConfig.cs
- IImplicitResourceProvider.cs
- PageBuildProvider.cs
- ErrorHandler.cs
- SortedList.cs
- SamlAuthenticationClaimResource.cs
- RemoteWebConfigurationHost.cs
- ScriptControlDescriptor.cs
- StreamingContext.cs
- CodeDomSerializer.cs
- ToolStripGripRenderEventArgs.cs
- ResourceManagerWrapper.cs
- WeakHashtable.cs
- BufferedGenericXmlSecurityToken.cs
- rsa.cs
- X509ChainPolicy.cs
- UserValidatedEventArgs.cs
- UpDownEvent.cs
- DBSchemaTable.cs
- GeometryConverter.cs
- Trace.cs
- XPathItem.cs
- Root.cs
- DesignerVerbCollection.cs
- CodeAttributeArgumentCollection.cs
- HashMembershipCondition.cs
- OperationFormatUse.cs
- AssociationTypeEmitter.cs
- OverflowException.cs
- Transactions.cs
- ServiceDescriptionReflector.cs
- EventLogPermission.cs
- ContractUtils.cs
- XmlSerializationGeneratedCode.cs
- UICuesEvent.cs
- PropertyNames.cs
- BitConverter.cs
- DataColumnMapping.cs
- MetadataArtifactLoaderCompositeFile.cs