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
- TcpTransportManager.cs
- QuotedPrintableStream.cs
- TypeCodeDomSerializer.cs
- Vector3D.cs
- CircleEase.cs
- IndentedWriter.cs
- MeasurementDCInfo.cs
- OracleRowUpdatedEventArgs.cs
- MultipleCopiesCollection.cs
- PolyLineSegment.cs
- TextElementEditingBehaviorAttribute.cs
- SignatureToken.cs
- X509ChainElement.cs
- PathFigure.cs
- Invariant.cs
- Utils.cs
- PickDesigner.xaml.cs
- ValidatorCompatibilityHelper.cs
- TableLayoutCellPaintEventArgs.cs
- DataBindingList.cs
- OperationFormatUse.cs
- HttpHandlersSection.cs
- DictionaryGlobals.cs
- SqlNotificationRequest.cs
- ListComponentEditorPage.cs
- FunctionQuery.cs
- MdiWindowListStrip.cs
- ObfuscateAssemblyAttribute.cs
- AnnotationStore.cs
- WebPartConnection.cs
- CaseCqlBlock.cs
- QilXmlWriter.cs
- ArrayWithOffset.cs
- CodeBlockBuilder.cs
- SafeHandle.cs
- ByteStream.cs
- RelationshipDetailsCollection.cs
- WorkflowPrinting.cs
- XmlParserContext.cs
- QilInvokeLateBound.cs
- CodeIdentifiers.cs
- IPEndPointCollection.cs
- TypeConverterValueSerializer.cs
- Contracts.cs
- FixedElement.cs
- Drawing.cs
- ICollection.cs
- XNameConverter.cs
- SqlWorkflowInstanceStoreLock.cs
- GeneralTransform3DCollection.cs
- Classification.cs
- BuilderPropertyEntry.cs
- WebPartDisplayMode.cs
- ProcessModelInfo.cs
- TextSpan.cs
- TableCellAutomationPeer.cs
- NativeMethodsCLR.cs
- ObjectDataSourceEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- basevalidator.cs
- SoapAttributeAttribute.cs
- ADRoleFactoryConfiguration.cs
- ConfigurationSettings.cs
- Marshal.cs
- CultureTable.cs
- Bitmap.cs
- FileDialog_Vista.cs
- ToolStripRenderer.cs
- GeometryConverter.cs
- DbDataRecord.cs
- DtdParser.cs
- TableProviderWrapper.cs
- PrefixQName.cs
- PointAnimationUsingPath.cs
- SafeHandles.cs
- ArrangedElementCollection.cs
- ContentFilePart.cs
- WebPartsPersonalizationAuthorization.cs
- Blend.cs
- Token.cs
- NullableDecimalAverageAggregationOperator.cs
- DbModificationClause.cs
- SafePointer.cs
- WebPartConnectionsConfigureVerb.cs
- StatusBar.cs
- PropertyAccessVisitor.cs
- FilteredAttributeCollection.cs
- Tracking.cs
- ClientTargetSection.cs
- ProxyWebPartConnectionCollection.cs
- ScaleTransform.cs
- ClientBuildManagerCallback.cs
- TypeUtil.cs
- ImageMapEventArgs.cs
- PointAnimation.cs
- OleDbException.cs
- SQLInt32Storage.cs
- OrderPreservingSpoolingTask.cs
- AppModelKnownContentFactory.cs
- DataGridViewButtonCell.cs