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
- Timer.cs
- WmpBitmapEncoder.cs
- BeginStoryboard.cs
- ProfileServiceManager.cs
- RemotingConfigParser.cs
- SmiMetaDataProperty.cs
- TagMapCollection.cs
- TextFindEngine.cs
- TreeIterator.cs
- Range.cs
- ToolBarButtonClickEvent.cs
- ClientRuntimeConfig.cs
- DateTimeOffsetAdapter.cs
- HierarchicalDataSourceControl.cs
- FontStyle.cs
- IChannel.cs
- ContainerControl.cs
- GridViewRowPresenter.cs
- GrammarBuilderPhrase.cs
- DataContractSet.cs
- BitmapEffectDrawingContextWalker.cs
- TokenCreationException.cs
- AuthenticationSection.cs
- WebBrowserHelper.cs
- RuleSetCollection.cs
- ComponentSerializationService.cs
- TextElement.cs
- SoapSchemaImporter.cs
- StateInitialization.cs
- HeaderedItemsControl.cs
- RoleService.cs
- FindCriteria.cs
- OleServicesContext.cs
- WorkerRequest.cs
- DetailsViewInsertedEventArgs.cs
- EventItfInfo.cs
- PointUtil.cs
- AuthorizationRuleCollection.cs
- AutoGeneratedField.cs
- QuaternionAnimationUsingKeyFrames.cs
- SoapWriter.cs
- BinaryFormatterSinks.cs
- DesignerDataTableBase.cs
- SqlExpressionNullability.cs
- StringAnimationUsingKeyFrames.cs
- TextBox.cs
- BitmapSource.cs
- PatternMatcher.cs
- QilTypeChecker.cs
- PenLineCapValidation.cs
- SelectionRange.cs
- PropertyDescriptorGridEntry.cs
- DoubleLinkList.cs
- ColorAnimationBase.cs
- HttpListenerContext.cs
- EnlistmentTraceIdentifier.cs
- PaintEvent.cs
- wgx_exports.cs
- ListComponentEditorPage.cs
- MethodSet.cs
- HashCryptoHandle.cs
- XPathDocumentNavigator.cs
- OrderingQueryOperator.cs
- HuffModule.cs
- OleDbPropertySetGuid.cs
- ETagAttribute.cs
- EntityParameter.cs
- AutomationProperties.cs
- BaseAsyncResult.cs
- BulletedList.cs
- NotifyCollectionChangedEventArgs.cs
- Message.cs
- TextEditorParagraphs.cs
- Image.cs
- BridgeDataRecord.cs
- DesignerDataTableBase.cs
- DataGridViewRowsAddedEventArgs.cs
- CodeCommentStatement.cs
- XmlAttributeProperties.cs
- BmpBitmapEncoder.cs
- InvokeProviderWrapper.cs
- DBNull.cs
- FixedTextBuilder.cs
- VirtualizingPanel.cs
- ControlCommandSet.cs
- WpfXamlType.cs
- AssertFilter.cs
- ScrollBarAutomationPeer.cs
- CategoryGridEntry.cs
- RegisteredDisposeScript.cs
- HostSecurityManager.cs
- ConfigXmlWhitespace.cs
- ControlCollection.cs
- AssociationType.cs
- XmlWrappingWriter.cs
- ColumnProvider.cs
- ResourceProviderFactory.cs
- Hex.cs
- KnownIds.cs
- HttpsTransportElement.cs