Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / DirectionalLight.cs / 1 / DirectionalLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D directional light implementation. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/18/2003 : [....] - Created // //--------------------------------------------------------------------------- using System; 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 { ////// Directional lights have no position in space and project their light along a /// particular direction, specified by the vector that defines it. /// public sealed partial class DirectionalLight : Light { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructs a white light looking down the positive z axis. /// public DirectionalLight() { } ////// Constructor. /// /// Diffuse color of the new light. /// Direction of the new light. public DirectionalLight(Color diffuseColor, Vector3D direction) { Color = diffuseColor; Direction = direction; } #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
- CompositeControl.cs
- Subtree.cs
- KeyConstraint.cs
- EntityContainer.cs
- MouseWheelEventArgs.cs
- MetadataWorkspace.cs
- ImageKeyConverter.cs
- SqlProcedureAttribute.cs
- _RequestCacheProtocol.cs
- PhonemeConverter.cs
- TransactionInterop.cs
- ExpanderAutomationPeer.cs
- DynamicILGenerator.cs
- DrawingServices.cs
- TemplateBindingExtension.cs
- smtpconnection.cs
- ResourceProperty.cs
- HttpAsyncResult.cs
- MasterPageCodeDomTreeGenerator.cs
- ExeConfigurationFileMap.cs
- Attributes.cs
- LinkLabelLinkClickedEvent.cs
- SelectionEditingBehavior.cs
- HttpResponseWrapper.cs
- ToolStripSeparator.cs
- Brush.cs
- InstancePersistenceContext.cs
- remotingproxy.cs
- SecurityException.cs
- METAHEADER.cs
- DataSourceView.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SortKey.cs
- HttpHandlerActionCollection.cs
- WebServiceReceive.cs
- _SpnDictionary.cs
- StaticFileHandler.cs
- GridViewCommandEventArgs.cs
- MasterPageBuildProvider.cs
- VirtualizedItemProviderWrapper.cs
- TailPinnedEventArgs.cs
- WebBrowserContainer.cs
- BaseConfigurationRecord.cs
- SaveFileDialog.cs
- NavigationPropertyEmitter.cs
- DocumentViewer.cs
- xmlNames.cs
- ObjectAssociationEndMapping.cs
- XPathAncestorIterator.cs
- XmlDocumentFieldSchema.cs
- ReferenceEqualityComparer.cs
- NativeMethodsOther.cs
- OperationAbortedException.cs
- BrowserTree.cs
- ChtmlSelectionListAdapter.cs
- PermissionSetTriple.cs
- ModulesEntry.cs
- DataKey.cs
- SystemParameters.cs
- OleDbFactory.cs
- NullReferenceException.cs
- AssemblyResourceLoader.cs
- TextElement.cs
- NamespaceMapping.cs
- SerializationEventsCache.cs
- SrgsElementFactoryCompiler.cs
- IsolationInterop.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- MbpInfo.cs
- Int16KeyFrameCollection.cs
- TextEditorParagraphs.cs
- IncrementalCompileAnalyzer.cs
- RawTextInputReport.cs
- AssociationTypeEmitter.cs
- ManualResetEvent.cs
- OleDbWrapper.cs
- SslStreamSecurityElement.cs
- ManualResetEvent.cs
- WebPartUtil.cs
- ChunkedMemoryStream.cs
- Opcode.cs
- EnvironmentPermission.cs
- BitHelper.cs
- XmlSchemaException.cs
- BaseDataListPage.cs
- TextElementCollection.cs
- VectorKeyFrameCollection.cs
- PolicyImporterElementCollection.cs
- SmiSettersStream.cs
- dataobject.cs
- TreeViewImageKeyConverter.cs
- ImageMetadata.cs
- IntSecurity.cs
- ContextStaticAttribute.cs
- ObjectListCommandsPage.cs
- FrameworkObject.cs
- CryptoConfig.cs
- UnmanagedMemoryStreamWrapper.cs
- RepeatInfo.cs
- Random.cs