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
- ReversePositionQuery.cs
- StringStorage.cs
- OptimisticConcurrencyException.cs
- NativeMethods.cs
- ConfigUtil.cs
- SocketElement.cs
- InputReportEventArgs.cs
- VirtualPathExtension.cs
- FilterException.cs
- EntitySqlQueryCacheEntry.cs
- LogStore.cs
- _Events.cs
- FixedSOMLineRanges.cs
- SQLBinaryStorage.cs
- ThrowHelper.cs
- EntityDesignerDataSourceView.cs
- ToggleButton.cs
- DataGridSortCommandEventArgs.cs
- ExpandableObjectConverter.cs
- XamlTemplateSerializer.cs
- OutputCacheProviderCollection.cs
- ListViewDataItem.cs
- IntPtr.cs
- HTMLTagNameToTypeMapper.cs
- Setter.cs
- ValidationHelper.cs
- FullTextState.cs
- ProviderConnectionPointCollection.cs
- OrderedDictionary.cs
- WebConfigurationHostFileChange.cs
- XmlILTrace.cs
- ClipboardProcessor.cs
- ReferencedType.cs
- GroupAggregateExpr.cs
- SuppressIldasmAttribute.cs
- UseManagedPresentationBindingElementImporter.cs
- ComNativeDescriptor.cs
- PathGradientBrush.cs
- StringStorage.cs
- DataGridViewTextBoxCell.cs
- FixUpCollection.cs
- TypeSemantics.cs
- AdRotator.cs
- XmlSchemaSet.cs
- XPathAncestorIterator.cs
- ClientProxyGenerator.cs
- PointLight.cs
- DragEvent.cs
- ValidationPropertyAttribute.cs
- HttpException.cs
- ZipIOLocalFileDataDescriptor.cs
- AttachedPropertyBrowsableAttribute.cs
- ReferentialConstraint.cs
- ComPlusTraceRecord.cs
- PointAnimationClockResource.cs
- Viewport3DAutomationPeer.cs
- UshortList2.cs
- ServiceControllerDesigner.cs
- TabControlCancelEvent.cs
- Processor.cs
- TypeInitializationException.cs
- DataBindingsDialog.cs
- RubberbandSelector.cs
- ZipIOFileItemStream.cs
- ResourceDescriptionAttribute.cs
- WindowsListViewSubItem.cs
- CompositionTarget.cs
- Atom10FormatterFactory.cs
- LinearGradientBrush.cs
- HijriCalendar.cs
- EventSinkHelperWriter.cs
- XmlSchemaSimpleTypeUnion.cs
- COM2Enum.cs
- Int16AnimationBase.cs
- SqlDataSource.cs
- PropertyConverter.cs
- mongolianshape.cs
- dataprotectionpermissionattribute.cs
- XmlSchemaInfo.cs
- BitmapMetadata.cs
- RegexStringValidator.cs
- WebPartUserCapability.cs
- LoggedException.cs
- Int64KeyFrameCollection.cs
- RewritingProcessor.cs
- BigInt.cs
- ExecutionEngineException.cs
- DataGridViewRowCancelEventArgs.cs
- EntityViewGenerator.cs
- PolicyLevel.cs
- SortFieldComparer.cs
- OleDbRowUpdatedEvent.cs
- SimpleBitVector32.cs
- TimeoutTimer.cs
- XsdBuilder.cs
- XPathDocument.cs
- EditorZoneAutoFormat.cs
- HttpProfileGroupBase.cs
- FileDialog.cs
- FamilyMapCollection.cs