Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / PointLight.cs / 1 / PointLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D positional light implementation. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/25/2003 : [....] - 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
- HttpContextServiceHost.cs
- ObjectItemNoOpAssemblyLoader.cs
- DataGridViewMethods.cs
- ScrollProviderWrapper.cs
- TextEncodedRawTextWriter.cs
- KoreanCalendar.cs
- ImpersonationContext.cs
- OdbcException.cs
- AppSettingsExpressionBuilder.cs
- Buffer.cs
- BooleanAnimationBase.cs
- TrustLevelCollection.cs
- ScaleTransform3D.cs
- COM2IDispatchConverter.cs
- ProxyHwnd.cs
- XamlReaderConstants.cs
- WeakReference.cs
- HtmlInputImage.cs
- CssTextWriter.cs
- LocatorGroup.cs
- DataGridViewSortCompareEventArgs.cs
- GeneralTransform2DTo3D.cs
- ConfigurationStrings.cs
- COM2Enum.cs
- SqlReorderer.cs
- FixedSOMGroup.cs
- TextBlockAutomationPeer.cs
- OleAutBinder.cs
- CollectionExtensions.cs
- DataGridViewColumnConverter.cs
- XsltLibrary.cs
- BitmapVisualManager.cs
- EntityStoreSchemaFilterEntry.cs
- ProxyHelper.cs
- HtmlHead.cs
- MethodImplAttribute.cs
- ContentDefinition.cs
- Button.cs
- ProtocolsInstallComponent.cs
- CollectionChangedEventManager.cs
- CommentEmitter.cs
- SqlCacheDependencyDatabase.cs
- TextEffect.cs
- KnownColorTable.cs
- ForeignKeyFactory.cs
- BooleanFacetDescriptionElement.cs
- ThreadStateException.cs
- Profiler.cs
- EventLogPermission.cs
- PathGeometry.cs
- WindowsScrollBarBits.cs
- Token.cs
- FixedPosition.cs
- X509ClientCertificateAuthenticationElement.cs
- XmlElementCollection.cs
- Util.cs
- LinkedResource.cs
- TextSchema.cs
- Matrix.cs
- SqlVersion.cs
- Sorting.cs
- DiscoveryClientOutputChannel.cs
- SqlExpressionNullability.cs
- TextDecorationUnitValidation.cs
- Thickness.cs
- ProjectionCamera.cs
- MatchingStyle.cs
- DataTableReader.cs
- XmlSchemaComplexContentExtension.cs
- DataGridViewAutoSizeModeEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- TableLayoutPanel.cs
- LinkClickEvent.cs
- CryptoConfig.cs
- FirewallWrapper.cs
- CrossContextChannel.cs
- FigureHelper.cs
- ConsoleKeyInfo.cs
- NetNamedPipeSecurityMode.cs
- SafeCryptoHandles.cs
- XmlMemberMapping.cs
- httpstaticobjectscollection.cs
- StoreItemCollection.cs
- StrongNameSignatureInformation.cs
- Registry.cs
- XmlValueConverter.cs
- SingleResultAttribute.cs
- SwitchCase.cs
- OpenTypeLayoutCache.cs
- MetaType.cs
- ColorDialog.cs
- BufferAllocator.cs
- BufferedGraphicsManager.cs
- SqlServices.cs
- Function.cs
- _ProxyRegBlob.cs
- ExtensionDataReader.cs
- ApplicationSettingsBase.cs
- TextContainerChangeEventArgs.cs
- TextLineResult.cs