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
- TextBoxLine.cs
- DataGridViewCellConverter.cs
- TextEditorCopyPaste.cs
- OdbcConnectionFactory.cs
- EmissiveMaterial.cs
- PerfCounters.cs
- ContractInferenceHelper.cs
- HttpApplicationFactory.cs
- ServiceChannelProxy.cs
- ButtonChrome.cs
- SecureUICommand.cs
- WindowsSysHeader.cs
- ServiceManagerHandle.cs
- IndentedTextWriter.cs
- MaskedTextBox.cs
- ToolStripContainer.cs
- SchemaTypeEmitter.cs
- GeometryModel3D.cs
- StringValueSerializer.cs
- WorkflowIdleBehavior.cs
- LinkArea.cs
- UnsafeNativeMethodsTablet.cs
- IOException.cs
- DelegateBodyWriter.cs
- StreamSecurityUpgradeAcceptorBase.cs
- Figure.cs
- Scanner.cs
- TypeCollectionDesigner.xaml.cs
- PipelineComponent.cs
- CodeExpressionRuleDeclaration.cs
- CaseInsensitiveOrdinalStringComparer.cs
- QueueAccessMode.cs
- TableDetailsRow.cs
- EmptyArray.cs
- SelectionProcessor.cs
- ThemeDictionaryExtension.cs
- Translator.cs
- ByteFacetDescriptionElement.cs
- DeferredSelectedIndexReference.cs
- RandomDelaySendsAsyncResult.cs
- Attributes.cs
- ProfileService.cs
- MarginCollapsingState.cs
- WeakReferenceList.cs
- BamlStream.cs
- __Filters.cs
- AsyncSerializedWorker.cs
- XsdDataContractImporter.cs
- BamlCollectionHolder.cs
- HttpFileCollectionBase.cs
- DataContractSet.cs
- RegisteredScript.cs
- EntityDataSourceContextDisposingEventArgs.cs
- UIElementIsland.cs
- ActivityScheduledQuery.cs
- CodeConditionStatement.cs
- HighlightVisual.cs
- TextElement.cs
- SafeHandle.cs
- SiteOfOriginContainer.cs
- XPathNodePointer.cs
- HyperLinkStyle.cs
- ErrorFormatter.cs
- DataGridTableCollection.cs
- HttpHandlerActionCollection.cs
- WorkflowStateRollbackService.cs
- Dump.cs
- FileReservationCollection.cs
- StreamWriter.cs
- DiagnosticEventProvider.cs
- ReturnValue.cs
- Error.cs
- TemplatePropertyEntry.cs
- NavigationService.cs
- ArrayListCollectionBase.cs
- QueryExecutionOption.cs
- UserControlDesigner.cs
- InstancePersistenceEvent.cs
- DataGridItemAttachedStorage.cs
- SafeRightsManagementEnvironmentHandle.cs
- ACE.cs
- X509RawDataKeyIdentifierClause.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TextTreeExtractElementUndoUnit.cs
- ViewUtilities.cs
- NullableBoolConverter.cs
- TextSelectionHighlightLayer.cs
- BuildProviderCollection.cs
- MailWebEventProvider.cs
- InstanceCreationEditor.cs
- ItemAutomationPeer.cs
- Vector3dCollection.cs
- ReferentialConstraint.cs
- HwndProxyElementProvider.cs
- StreamMarshaler.cs
- ListControlBuilder.cs
- WSSecurityXXX2005.cs
- TypeSystem.cs
- TableHeaderCell.cs
- CodeSubDirectoriesCollection.cs