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
- SqlFileStream.cs
- XamlSerializerUtil.cs
- PolicyManager.cs
- UserValidatedEventArgs.cs
- TypeConverters.cs
- HtmlInputFile.cs
- QuadraticBezierSegment.cs
- _ChunkParse.cs
- PackWebResponse.cs
- HMACSHA384.cs
- UndirectedGraph.cs
- HttpPostedFile.cs
- ResourceType.cs
- Oid.cs
- DataGridLinkButton.cs
- MostlySingletonList.cs
- RootDesignerSerializerAttribute.cs
- TemplatedMailWebEventProvider.cs
- ImageListStreamer.cs
- ApplicationCommands.cs
- HighlightComponent.cs
- DefaultMemberAttribute.cs
- StringExpressionSet.cs
- RectangleGeometry.cs
- SafeFileHandle.cs
- linebase.cs
- SmiEventStream.cs
- HitTestResult.cs
- BindMarkupExtensionSerializer.cs
- CustomAttributeBuilder.cs
- HighlightVisual.cs
- ObjectManager.cs
- ColumnHeaderConverter.cs
- IPGlobalProperties.cs
- ServiceNameElementCollection.cs
- IDictionary.cs
- _FtpDataStream.cs
- MimePart.cs
- FloatSumAggregationOperator.cs
- XPathDescendantIterator.cs
- ObjectAnimationUsingKeyFrames.cs
- RetrieveVirtualItemEventArgs.cs
- TextTreeObjectNode.cs
- AutomationElementIdentifiers.cs
- DependencyPropertyChangedEventArgs.cs
- RenderingEventArgs.cs
- SocketElement.cs
- MessageBuilder.cs
- MemoryRecordBuffer.cs
- WebPartConnectionsConfigureVerb.cs
- ConstructorExpr.cs
- ControlPropertyNameConverter.cs
- PassportAuthentication.cs
- TreeViewTemplateSelector.cs
- SubtreeProcessor.cs
- Composition.cs
- FileDialogCustomPlacesCollection.cs
- AttributeCallbackBuilder.cs
- OleDbRowUpdatedEvent.cs
- FileDataSourceCache.cs
- DetailsViewCommandEventArgs.cs
- ListViewAutomationPeer.cs
- RtfControls.cs
- SqlDataSourceCustomCommandPanel.cs
- DrawingBrush.cs
- InlineObject.cs
- Queue.cs
- LinkDescriptor.cs
- HttpWebRequestElement.cs
- TypedColumnHandler.cs
- PageStatePersister.cs
- DoubleCollectionConverter.cs
- ImagingCache.cs
- DetailsViewDeletedEventArgs.cs
- CellPartitioner.cs
- KeyNotFoundException.cs
- CultureInfo.cs
- FontFamilyIdentifier.cs
- XmlEncoding.cs
- OdbcFactory.cs
- SingleConverter.cs
- DataGridCheckBoxColumn.cs
- SpecularMaterial.cs
- AvTraceDetails.cs
- CultureInfo.cs
- TypeForwardedFromAttribute.cs
- LongValidator.cs
- ToRequest.cs
- TextElementEnumerator.cs
- StringArrayConverter.cs
- ComponentEvent.cs
- TypeExtensions.cs
- DataGridPagerStyle.cs
- FlowchartDesigner.xaml.cs
- OdbcException.cs
- BuildProvider.cs
- DateTimeFormat.cs
- AvTrace.cs
- CompareInfo.cs
- WebPartMinimizeVerb.cs