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
- Version.cs
- ImageSourceConverter.cs
- XMLSyntaxException.cs
- PropertyKey.cs
- OleDbCommand.cs
- FixedTextPointer.cs
- PriorityQueue.cs
- WindowManager.cs
- Scheduler.cs
- XmlAtomicValue.cs
- IdentityModelDictionary.cs
- Rethrow.cs
- GeneralTransform3DGroup.cs
- SingleStorage.cs
- Calendar.cs
- AmbientProperties.cs
- FileDataSourceCache.cs
- XmlAnyElementAttribute.cs
- GeneratedContractType.cs
- FileDialog_Vista_Interop.cs
- ConfigXmlSignificantWhitespace.cs
- EntityWithKeyStrategy.cs
- ResourceManagerWrapper.cs
- BindingNavigator.cs
- XmlAttributeCache.cs
- Line.cs
- LinqDataSourceDisposeEventArgs.cs
- DocumentViewerAutomationPeer.cs
- ScriptResourceMapping.cs
- HandlerWithFactory.cs
- ListViewDeletedEventArgs.cs
- Token.cs
- AppDomainEvidenceFactory.cs
- ByteStack.cs
- SettingsProperty.cs
- bindurihelper.cs
- HyperlinkAutomationPeer.cs
- ZipIOExtraFieldPaddingElement.cs
- CompositeActivityMarkupSerializer.cs
- ClientScriptManager.cs
- MaterialCollection.cs
- SyntaxCheck.cs
- CommandLibraryHelper.cs
- InProcStateClientManager.cs
- DataViewManagerListItemTypeDescriptor.cs
- formatter.cs
- UriExt.cs
- _LocalDataStore.cs
- GeneralTransform3DCollection.cs
- EmptyEnumerable.cs
- SystemIcmpV4Statistics.cs
- Vector3DCollectionConverter.cs
- XmlSerializerVersionAttribute.cs
- HtmlObjectListAdapter.cs
- TextDecorationCollection.cs
- CommonDialog.cs
- DockPattern.cs
- HttpProcessUtility.cs
- SafeNativeMethods.cs
- NativeMethods.cs
- DataViewSetting.cs
- DataTableMapping.cs
- Timer.cs
- ToolStripContainerDesigner.cs
- OleDbRowUpdatedEvent.cs
- DispatcherFrame.cs
- _SecureChannel.cs
- RequestResizeEvent.cs
- _Semaphore.cs
- StandardOleMarshalObject.cs
- AudioFormatConverter.cs
- HtmlElementEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- WebPartMenu.cs
- ToolZoneDesigner.cs
- UnitySerializationHolder.cs
- EventMemberCodeDomSerializer.cs
- TextTreeInsertUndoUnit.cs
- DeflateStream.cs
- newinstructionaction.cs
- BaseTemplateBuildProvider.cs
- WpfKnownTypeInvoker.cs
- DependencyObject.cs
- DesignerAutoFormatStyle.cs
- StaticFileHandler.cs
- DecimalAnimationBase.cs
- RectangleHotSpot.cs
- DbgCompiler.cs
- CodeVariableDeclarationStatement.cs
- ObjectDataSourceSelectingEventArgs.cs
- WebPartEditorOkVerb.cs
- XmlDocumentFragment.cs
- ThousandthOfEmRealDoubles.cs
- TabItemAutomationPeer.cs
- StsCommunicationException.cs
- RectKeyFrameCollection.cs
- InputScopeConverter.cs
- DataViewSettingCollection.cs
- DecoderBestFitFallback.cs
- PEFileEvidenceFactory.cs