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
- LogStore.cs
- Row.cs
- SchemaLookupTable.cs
- RoutedEventValueSerializer.cs
- HtmlInputButton.cs
- HyperLink.cs
- base64Transforms.cs
- BinaryExpressionHelper.cs
- WebBrowserPermission.cs
- BoolExpressionVisitors.cs
- WebPart.cs
- EntityTypeBase.cs
- XmlIgnoreAttribute.cs
- RowUpdatingEventArgs.cs
- LineSegment.cs
- DataControlFieldHeaderCell.cs
- BindingObserver.cs
- RegistryConfigurationProvider.cs
- ConstantSlot.cs
- WsatServiceCertificate.cs
- WebPartChrome.cs
- Literal.cs
- ProjectionAnalyzer.cs
- AutomationIdentifier.cs
- EventDescriptor.cs
- ExpressionConverter.cs
- GridView.cs
- NumericExpr.cs
- ProgressPage.cs
- PointHitTestResult.cs
- VariableAction.cs
- NativeMethodsCLR.cs
- Intellisense.cs
- DescendentsWalkerBase.cs
- formatter.cs
- TargetConverter.cs
- CustomErrorsSection.cs
- DependencyPropertyDescriptor.cs
- DocumentApplicationJournalEntry.cs
- RuleSettingsCollection.cs
- QilGeneratorEnv.cs
- LoginUtil.cs
- XsdValidatingReader.cs
- HtmlInputSubmit.cs
- FormViewInsertedEventArgs.cs
- CodeGeneratorOptions.cs
- RijndaelManagedTransform.cs
- ToolStripOverflow.cs
- TypeFieldSchema.cs
- TypedDataSetSchemaImporterExtension.cs
- indexingfiltermarshaler.cs
- InstanceDescriptor.cs
- DataGridViewImageColumn.cs
- OuterGlowBitmapEffect.cs
- DataGridViewTextBoxCell.cs
- DefaultValidator.cs
- PartitionResolver.cs
- InternalRelationshipCollection.cs
- ProtocolElementCollection.cs
- ConfigurationLockCollection.cs
- oledbmetadatacolumnnames.cs
- SourceCollection.cs
- CommonDialog.cs
- WsdlBuildProvider.cs
- SecureEnvironment.cs
- ChildrenQuery.cs
- SQLChars.cs
- ObjectSecurity.cs
- GeneratedContractType.cs
- TextTrailingWordEllipsis.cs
- ObjectHandle.cs
- ActivatableWorkflowsQueryResult.cs
- TextSelectionHighlightLayer.cs
- Compiler.cs
- BitmapVisualManager.cs
- RegexRunner.cs
- RecordManager.cs
- CollectionViewGroupRoot.cs
- BaseWebProxyFinder.cs
- BuildResult.cs
- ServiceRouteHandler.cs
- StringConverter.cs
- SystemFonts.cs
- StringToken.cs
- MessagingDescriptionAttribute.cs
- odbcmetadatacolumnnames.cs
- OdbcTransaction.cs
- WebPartTransformer.cs
- RadioButtonBaseAdapter.cs
- SizeIndependentAnimationStorage.cs
- SelfIssuedTokenFactoryCredential.cs
- AppSettingsExpressionBuilder.cs
- DataGridViewCellValueEventArgs.cs
- EntityDataSourceWizardForm.cs
- HttpModuleAction.cs
- GeneralTransform.cs
- Util.cs
- EventMappingSettings.cs
- MappingMetadataHelper.cs
- EntityTransaction.cs