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
- MSAAWinEventWrap.cs
- Lookup.cs
- DataPager.cs
- Utils.cs
- DataGridViewCellStateChangedEventArgs.cs
- Selection.cs
- BooleanFacetDescriptionElement.cs
- InvalidEnumArgumentException.cs
- HtmlInputCheckBox.cs
- RelatedPropertyManager.cs
- InvalidPipelineStoreException.cs
- AuthenticationConfig.cs
- PassportAuthenticationModule.cs
- TextDecoration.cs
- WindowsSolidBrush.cs
- CodeMethodReturnStatement.cs
- HttpListenerContext.cs
- PasswordBox.cs
- FileLoadException.cs
- CodeTypeConstructor.cs
- RootBuilder.cs
- Int32.cs
- LogWriteRestartAreaState.cs
- BaseAddressElement.cs
- LedgerEntry.cs
- HtmlGenericControl.cs
- FileDialog_Vista_Interop.cs
- HttpCachePolicyElement.cs
- DataGridViewUtilities.cs
- TreeViewCancelEvent.cs
- CodeNamespaceImport.cs
- SpellerHighlightLayer.cs
- FixedPageProcessor.cs
- BamlLocalizableResource.cs
- ProfileBuildProvider.cs
- TriggerBase.cs
- FontEmbeddingManager.cs
- FormViewPagerRow.cs
- ObjectPersistData.cs
- EFColumnProvider.cs
- CheckBoxField.cs
- entitydatasourceentitysetnameconverter.cs
- SystemIPv4InterfaceProperties.cs
- CopyNodeSetAction.cs
- SafeMemoryMappedFileHandle.cs
- WorkflowInstanceExtensionManager.cs
- FileFormatException.cs
- LambdaExpression.cs
- TitleStyle.cs
- ZipIOCentralDirectoryBlock.cs
- PlanCompiler.cs
- WebMessageBodyStyleHelper.cs
- QilReference.cs
- BuildManager.cs
- ConnectionInterfaceCollection.cs
- WriteableOnDemandStream.cs
- XPathSelfQuery.cs
- TextAutomationPeer.cs
- SerializationObjectManager.cs
- TypeInitializationException.cs
- DispatcherEventArgs.cs
- PrePostDescendentsWalker.cs
- Group.cs
- Sequence.cs
- BitmapDecoder.cs
- WebSysDefaultValueAttribute.cs
- TextServicesDisplayAttribute.cs
- CodeNamespace.cs
- PathFigure.cs
- ToolboxDataAttribute.cs
- uribuilder.cs
- SerialErrors.cs
- Setter.cs
- HttpListenerContext.cs
- CssTextWriter.cs
- DBSchemaRow.cs
- WebPartCollection.cs
- CrossSiteScriptingValidation.cs
- RegistrationServices.cs
- DataGridViewDataConnection.cs
- IdentifierService.cs
- SingleAnimationBase.cs
- SHA256Cng.cs
- CallSite.cs
- DiagnosticsConfigurationHandler.cs
- SetterBaseCollection.cs
- MemberAccessException.cs
- SmtpMail.cs
- AxisAngleRotation3D.cs
- SplitterEvent.cs
- ZipIOExtraFieldElement.cs
- ContainerUIElement3D.cs
- SuppressMessageAttribute.cs
- CompatibleIComparer.cs
- _StreamFramer.cs
- LineUtil.cs
- DependencyPropertyConverter.cs
- ContainerParaClient.cs
- BindableAttribute.cs
- ReceiveActivityDesigner.cs