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 / 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
- FixUpCollection.cs
- ManipulationLogic.cs
- BulletedList.cs
- DynamicDataManager.cs
- ConstrainedDataObject.cs
- _OSSOCK.cs
- ParserExtension.cs
- SeekStoryboard.cs
- MessagePropertyDescriptionCollection.cs
- PageSettings.cs
- AsymmetricKeyExchangeFormatter.cs
- EventLogEntry.cs
- ProfileGroupSettingsCollection.cs
- InputLanguageProfileNotifySink.cs
- FormattedTextSymbols.cs
- TextWriterTraceListener.cs
- FtpWebResponse.cs
- ConnectionPoint.cs
- ToolStripButton.cs
- AlphaSortedEnumConverter.cs
- TextTreeDeleteContentUndoUnit.cs
- TimeZone.cs
- VarRefManager.cs
- SemaphoreFullException.cs
- ControlBuilderAttribute.cs
- SafeRegistryHandle.cs
- URLString.cs
- TextLine.cs
- StorageTypeMapping.cs
- SafeThreadHandle.cs
- FamilyMapCollection.cs
- CatalogZoneBase.cs
- OrderedDictionary.cs
- SqlProviderServices.cs
- StatusBarPanelClickEvent.cs
- SqlTypeConverter.cs
- SqlXmlStorage.cs
- WebPartEditorOkVerb.cs
- WebPartCatalogAddVerb.cs
- XmlDeclaration.cs
- DBCSCodePageEncoding.cs
- StylusShape.cs
- FileDialogCustomPlace.cs
- OrderablePartitioner.cs
- SizeConverter.cs
- Visual3D.cs
- CriticalExceptions.cs
- VisualBrush.cs
- DtrList.cs
- SiteMapNode.cs
- DependencyObject.cs
- Select.cs
- DrawingContextWalker.cs
- TextRange.cs
- RowToFieldTransformer.cs
- X509Certificate.cs
- HttpCachePolicyElement.cs
- OAVariantLib.cs
- LicFileLicenseProvider.cs
- FlowLayoutPanel.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- SystemIPGlobalProperties.cs
- ServiceOperationParameter.cs
- Debug.cs
- ErrorInfoXmlDocument.cs
- CompiledIdentityConstraint.cs
- IntPtr.cs
- GuidelineCollection.cs
- PropertyContainer.cs
- TextDecorationCollection.cs
- ApplicationFileParser.cs
- PointUtil.cs
- FontFamilyValueSerializer.cs
- ConsumerConnectionPoint.cs
- ListViewItemSelectionChangedEvent.cs
- ImageList.cs
- ColorPalette.cs
- DataRowView.cs
- BidPrivateBase.cs
- OverflowException.cs
- DropShadowBitmapEffect.cs
- HyperlinkAutomationPeer.cs
- DecimalAnimationBase.cs
- DesignerDataParameter.cs
- ServiceDescriptionImporter.cs
- SqlInfoMessageEvent.cs
- RoleGroupCollection.cs
- ComponentResourceKey.cs
- Header.cs
- TemplateKeyConverter.cs
- StringToken.cs
- StreamUpdate.cs
- SByteStorage.cs
- MessageSecurityProtocolFactory.cs
- WebPartTransformerCollection.cs
- SyndicationSerializer.cs
- DescendentsWalkerBase.cs
- PropertyDescriptors.cs
- SchemaNames.cs
- ComboBoxAutomationPeer.cs