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
- TableLayoutSettings.cs
- SerializationInfo.cs
- RelOps.cs
- PageRanges.cs
- SqlInternalConnectionTds.cs
- UIElementParagraph.cs
- TimeStampChecker.cs
- WindowProviderWrapper.cs
- SystemNetworkInterface.cs
- ToolboxComponentsCreatedEventArgs.cs
- TargetFrameworkAttribute.cs
- StylusButtonCollection.cs
- XsdDateTime.cs
- ContentPresenter.cs
- TableLayoutCellPaintEventArgs.cs
- TabletDevice.cs
- ObfuscationAttribute.cs
- WmlListAdapter.cs
- ViewLoader.cs
- CodeConditionStatement.cs
- ZoneIdentityPermission.cs
- ExecutedRoutedEventArgs.cs
- MappingException.cs
- SettingsPropertyValue.cs
- NetworkStream.cs
- OrderedDictionary.cs
- ProfilePropertySettings.cs
- ValidationHelper.cs
- MobileUserControlDesigner.cs
- RepeaterCommandEventArgs.cs
- COM2Enum.cs
- RoutedCommand.cs
- HorizontalAlignConverter.cs
- DeviceContexts.cs
- TextProviderWrapper.cs
- DescendantOverDescendantQuery.cs
- BuildProviderCollection.cs
- OdbcParameter.cs
- autovalidator.cs
- DataServiceKeyAttribute.cs
- ExpandoClass.cs
- PageTheme.cs
- DefaultTraceListener.cs
- DesignColumnCollection.cs
- CreateUserErrorEventArgs.cs
- DSASignatureDeformatter.cs
- XmlAttributeCollection.cs
- StaticTextPointer.cs
- UnmanagedHandle.cs
- HttpModuleAction.cs
- DesignerDataSourceView.cs
- DataGridItem.cs
- DesignerDataColumn.cs
- ReaderWriterLock.cs
- DbUpdateCommandTree.cs
- ScriptResourceHandler.cs
- DropTarget.cs
- DocumentApplicationJournalEntry.cs
- DoubleConverter.cs
- MetadataSerializer.cs
- SoapSchemaExporter.cs
- SurrogateSelector.cs
- Point3DCollection.cs
- HighlightVisual.cs
- XmlNodeChangedEventArgs.cs
- DataSysAttribute.cs
- ObjectPersistData.cs
- ActivityScheduledRecord.cs
- ServiceEndpointCollection.cs
- URIFormatException.cs
- assertwrapper.cs
- DescendantBaseQuery.cs
- X509CertificateCollection.cs
- InternalDispatchObject.cs
- DirectoryInfo.cs
- CodeEntryPointMethod.cs
- SocketInformation.cs
- TableLayoutSettingsTypeConverter.cs
- SequentialActivityDesigner.cs
- prefixendpointaddressmessagefiltertable.cs
- UIElementHelper.cs
- ClipboardProcessor.cs
- DesignerAttribute.cs
- BindingCompleteEventArgs.cs
- InstanceDataCollection.cs
- TypeLoadException.cs
- Rfc2898DeriveBytes.cs
- SystemWebExtensionsSectionGroup.cs
- AuthenticateEventArgs.cs
- ConnectivityStatus.cs
- LocalizableAttribute.cs
- TraversalRequest.cs
- EventProviderWriter.cs
- ProgressBar.cs
- TraceEventCache.cs
- TreeWalkHelper.cs
- PropagatorResult.cs
- TextServicesContext.cs
- ToolStripManager.cs
- EditorPartChrome.cs