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
- IpcChannel.cs
- SkipStoryboardToFill.cs
- SmtpFailedRecipientsException.cs
- RootBuilder.cs
- wmiprovider.cs
- ClosableStream.cs
- ToolStripContainer.cs
- WebExceptionStatus.cs
- Pts.cs
- TimerEventSubscription.cs
- LassoHelper.cs
- XmlDictionary.cs
- MutexSecurity.cs
- UTF8Encoding.cs
- DrawingState.cs
- CultureData.cs
- StyleBamlRecordReader.cs
- Bold.cs
- DtdParser.cs
- WebControlAdapter.cs
- URI.cs
- SecurityContext.cs
- ClipboardProcessor.cs
- DeploymentExceptionMapper.cs
- RectangleConverter.cs
- ParameterModifier.cs
- ParentQuery.cs
- Int32KeyFrameCollection.cs
- FormatVersion.cs
- MsmqAppDomainProtocolHandler.cs
- PerformanceCounterPermission.cs
- GroupQuery.cs
- ConfigXmlText.cs
- SettingsPropertyNotFoundException.cs
- XPathMultyIterator.cs
- XmlReaderSettings.cs
- CompiledQueryCacheEntry.cs
- GPRECTF.cs
- BmpBitmapDecoder.cs
- ObjectViewQueryResultData.cs
- OutputCache.cs
- Types.cs
- DataBindingHandlerAttribute.cs
- XpsFilter.cs
- VisualBasicSettingsHandler.cs
- MergeExecutor.cs
- DockPattern.cs
- FrameworkElement.cs
- SimpleRecyclingCache.cs
- LightweightCodeGenerator.cs
- UnsupportedPolicyOptionsException.cs
- VersionPair.cs
- CodeLabeledStatement.cs
- AssemblyCache.cs
- Exceptions.cs
- SelectionEditor.cs
- CodeConstructor.cs
- ColorInterpolationModeValidation.cs
- KnownTypeDataContractResolver.cs
- ObjectDisposedException.cs
- ArraySegment.cs
- ProtocolsConfigurationEntry.cs
- DetailsViewCommandEventArgs.cs
- XpsDocumentEvent.cs
- AspCompat.cs
- OSFeature.cs
- ObjectList.cs
- InstanceView.cs
- SymbolEqualComparer.cs
- XmlNodeReader.cs
- TextTreeFixupNode.cs
- LazyTextWriterCreator.cs
- TemplateInstanceAttribute.cs
- ButtonFlatAdapter.cs
- ValidationErrorEventArgs.cs
- BrowserCapabilitiesFactory.cs
- CommandID.cs
- IPipelineRuntime.cs
- IRCollection.cs
- DateTimeParse.cs
- RuleInfoComparer.cs
- PerfService.cs
- XmlAttributes.cs
- OleDbParameter.cs
- TemplatedWizardStep.cs
- DropShadowBitmapEffect.cs
- ISessionStateStore.cs
- RemoteWebConfigurationHostServer.cs
- ConfigurationSectionGroup.cs
- Attachment.cs
- TextProperties.cs
- DataGridViewSelectedCellCollection.cs
- CapacityStreamGeometryContext.cs
- NoResizeHandleGlyph.cs
- EnumConverter.cs
- TreeNodeEventArgs.cs
- RequestCachePolicyConverter.cs
- BrowserInteropHelper.cs
- XmlObjectSerializerWriteContextComplex.cs
- CompositeDataBoundControl.cs