Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media3D / PointLight.cs / 1 / PointLight.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
//
// Description: 3D positional light implementation.
//
// See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht
//
// History:
// 06/25/2003 : t-gregr - Created
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
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
{
///
/// Positional lights have a position in space and project their light in all directions.
/// The falloff of the light is controlled by attenuation and range properties.
///
public sealed partial class PointLight : PointLightBase
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
///
/// Default constructor that creates a white PointLight at the origin.
///
public PointLight() {}
///
/// Constructor.
///
/// Diffuse color for the new positional light.
/// Position of the new positional light.
public PointLight(Color diffuseColor, Point3D position)
: this()
{
// Set PointLightBase properties
Color = diffuseColor;
Position = position;
}
#endregion Constructors
//------------------------------------------------------
//
// 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 positional light implementation.
//
// See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht
//
// History:
// 06/25/2003 : t-gregr - Created
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
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
{
///
/// Positional lights have a position in space and project their light in all directions.
/// The falloff of the light is controlled by attenuation and range properties.
///
public sealed partial class PointLight : PointLightBase
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
///
/// Default constructor that creates a white PointLight at the origin.
///
public PointLight() {}
///
/// Constructor.
///
/// Diffuse color for the new positional light.
/// Position of the new positional light.
public PointLight(Color diffuseColor, Point3D position)
: this()
{
// Set PointLightBase properties
Color = diffuseColor;
Position = position;
}
#endregion Constructors
//------------------------------------------------------
//
// 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
- Parser.cs
- SqlDependencyListener.cs
- DoubleKeyFrameCollection.cs
- StreamedWorkflowDefinitionContext.cs
- XmlDataSourceView.cs
- XmlNamespaceMappingCollection.cs
- DataServiceStreamProviderWrapper.cs
- TraceFilter.cs
- ReliabilityContractAttribute.cs
- DataRelation.cs
- MetabaseSettingsIis7.cs
- EmptyQuery.cs
- CodeConstructor.cs
- PresentationAppDomainManager.cs
- CornerRadius.cs
- ProvidersHelper.cs
- CursorConverter.cs
- CompensationHandlingFilter.cs
- ScriptReferenceEventArgs.cs
- DesignerEditorPartChrome.cs
- SocketInformation.cs
- OneOfElement.cs
- BlurBitmapEffect.cs
- FrameworkElementFactory.cs
- GraphicsPathIterator.cs
- SessionEndingCancelEventArgs.cs
- RotationValidation.cs
- PolyBezierSegmentFigureLogic.cs
- Privilege.cs
- httpserverutility.cs
- Matrix.cs
- FeatureManager.cs
- AsymmetricSignatureDeformatter.cs
- ProfileProvider.cs
- PointKeyFrameCollection.cs
- UxThemeWrapper.cs
- EncoderReplacementFallback.cs
- ScriptingRoleServiceSection.cs
- MimeObjectFactory.cs
- XmlToDatasetMap.cs
- _UriSyntax.cs
- InvalidFilterCriteriaException.cs
- PartBasedPackageProperties.cs
- ClientOptions.cs
- TrackingDataItem.cs
- SqlDataSourceQueryEditor.cs
- RouteParameter.cs
- TableLayoutStyleCollection.cs
- CompareValidator.cs
- MethodBody.cs
- InheritanceService.cs
- QilVisitor.cs
- ExtractedStateEntry.cs
- ScrollableControlDesigner.cs
- CodeStatementCollection.cs
- DecoderBestFitFallback.cs
- WebPartConnectionsDisconnectVerb.cs
- XmlSchemaObjectTable.cs
- ReferenceEqualityComparer.cs
- PolyLineSegment.cs
- DataGrid.cs
- MessageBox.cs
- EditingScopeUndoUnit.cs
- WmlLabelAdapter.cs
- BridgeDataRecord.cs
- ColumnResizeUndoUnit.cs
- TreeNodeCollection.cs
- RtfToXamlReader.cs
- LocalizableAttribute.cs
- LinkConverter.cs
- NetSectionGroup.cs
- GenericEnumConverter.cs
- ObjectParameterCollection.cs
- ObjectListDesigner.cs
- ToolTipAutomationPeer.cs
- GeometryGroup.cs
- WmlLabelAdapter.cs
- CodeVariableReferenceExpression.cs
- PersonalizationProviderHelper.cs
- Events.cs
- Unit.cs
- FontDialog.cs
- CommandHelpers.cs
- OptimizerPatterns.cs
- HttpInputStream.cs
- WmlPageAdapter.cs
- TextComposition.cs
- IgnoreDeviceFilterElement.cs
- CodeGeneratorOptions.cs
- DNS.cs
- SiteMapNode.cs
- _ListenerAsyncResult.cs
- coordinatorscratchpad.cs
- CaseStatementSlot.cs
- PointLight.cs
- CalendarKeyboardHelper.cs
- SerialPort.cs
- ReadOnlyPropertyMetadata.cs
- PropertyPathConverter.cs
- HandlerMappingMemo.cs