Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / DirectionalLight.cs / 1305600 / DirectionalLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D directional light implementation. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/18/2003 : t-gregr - 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
- GuidTagList.cs
- RequestCacheManager.cs
- SqlTypeConverter.cs
- SchemaImporter.cs
- XamlContextStack.cs
- EncoderReplacementFallback.cs
- ZoneButton.cs
- SqlPersonalizationProvider.cs
- RootProfilePropertySettingsCollection.cs
- Quaternion.cs
- XmlElementAttributes.cs
- NegationPusher.cs
- DependentList.cs
- ComponentEditorPage.cs
- DeobfuscatingStream.cs
- PrintDialog.cs
- DataTableCollection.cs
- DataPointer.cs
- NumberFunctions.cs
- PersistChildrenAttribute.cs
- RequestQueryParser.cs
- FlowDocumentScrollViewer.cs
- WriteableBitmap.cs
- WindowsRichEdit.cs
- XPathNodeIterator.cs
- UnsafeNativeMethodsCLR.cs
- HtmlToClrEventProxy.cs
- WorkflowLayouts.cs
- InvalidAsynchronousStateException.cs
- ReflectionTypeLoadException.cs
- QueryOperationResponseOfT.cs
- WindowsTitleBar.cs
- SapiAttributeParser.cs
- FilterQueryOptionExpression.cs
- AuthStoreRoleProvider.cs
- PersistChildrenAttribute.cs
- CommandID.cs
- UpdateProgress.cs
- HtmlInputReset.cs
- DatatypeImplementation.cs
- Cloud.cs
- Models.cs
- DeviceContext2.cs
- GlobalEventManager.cs
- LicenseManager.cs
- DBAsyncResult.cs
- Configuration.cs
- KnownBoxes.cs
- XmlSchemaRedefine.cs
- WebConfigurationManager.cs
- AuthenticationModuleElement.cs
- WindowsStatusBar.cs
- CodeMemberMethod.cs
- ProtocolImporter.cs
- WebPartVerbsEventArgs.cs
- GridViewUpdatedEventArgs.cs
- ErrorHandler.cs
- OleDbEnumerator.cs
- PersonalizationProviderCollection.cs
- PaintValueEventArgs.cs
- CompilerHelpers.cs
- ClientSettingsSection.cs
- ToolBarTray.cs
- Delegate.cs
- ReferenceSchema.cs
- _AutoWebProxyScriptWrapper.cs
- SchemaComplexType.cs
- webbrowsersite.cs
- ColumnResizeAdorner.cs
- __Filters.cs
- DateTimeConverter2.cs
- SqlGatherProducedAliases.cs
- InheritanceContextHelper.cs
- Expr.cs
- HttpModuleCollection.cs
- CalendarDayButton.cs
- DBAsyncResult.cs
- DefaultEventAttribute.cs
- TextEditorTables.cs
- MediaContextNotificationWindow.cs
- SqlDataSourceFilteringEventArgs.cs
- XPathAxisIterator.cs
- SystemIPGlobalStatistics.cs
- WorkflowApplicationEventArgs.cs
- MenuItemStyleCollection.cs
- ListSortDescription.cs
- BuildProviderAppliesToAttribute.cs
- SqlDataSourceSelectingEventArgs.cs
- BindingMemberInfo.cs
- VectorCollectionConverter.cs
- MD5.cs
- LineMetrics.cs
- PriorityChain.cs
- Expander.cs
- XamlPathDataSerializer.cs
- SchemaTableColumn.cs
- GenericTypeParameterBuilder.cs
- ShapingWorkspace.cs
- Int32Converter.cs
- OracleString.cs