Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media3D / DirectionalLight.cs / 1 / 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. //---------------------------------------------------------------------------- // //// 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
- SqlProviderManifest.cs
- LogLogRecordEnumerator.cs
- XamlBrushSerializer.cs
- RichTextBoxAutomationPeer.cs
- EdmMember.cs
- BrowserDefinition.cs
- DynamicResourceExtension.cs
- FilterQueryOptionExpression.cs
- TextRunCacheImp.cs
- WindowsEditBox.cs
- DBAsyncResult.cs
- TemplateBindingExtensionConverter.cs
- WindowInteropHelper.cs
- OrCondition.cs
- AsymmetricSignatureDeformatter.cs
- MorphHelper.cs
- Point.cs
- ChtmlFormAdapter.cs
- MonikerSyntaxException.cs
- BoundColumn.cs
- MachineKeySection.cs
- QueryInterceptorAttribute.cs
- InternalConfigHost.cs
- DataControlField.cs
- TextEditorLists.cs
- CustomAttributeSerializer.cs
- ErrorFormatter.cs
- DetailsViewInsertedEventArgs.cs
- KeySplineConverter.cs
- InlineUIContainer.cs
- ApplicationInfo.cs
- DirectoryInfo.cs
- WebEventCodes.cs
- LogStream.cs
- XPathDocumentNavigator.cs
- TypographyProperties.cs
- PropertyTabAttribute.cs
- BamlRecordWriter.cs
- SmtpNetworkElement.cs
- XsltInput.cs
- CommandHelpers.cs
- AuthenticationConfig.cs
- StylusPlugInCollection.cs
- ConfigurationLocation.cs
- HttpListenerContext.cs
- ProviderBase.cs
- Permission.cs
- sqlstateclientmanager.cs
- PersistChildrenAttribute.cs
- NotImplementedException.cs
- QueryCacheEntry.cs
- TextReader.cs
- ExpandCollapseProviderWrapper.cs
- ViewManager.cs
- DataGridViewToolTip.cs
- Int32CollectionConverter.cs
- IHttpResponseInternal.cs
- ScrollPattern.cs
- Visitors.cs
- XmlQualifiedNameTest.cs
- SinglePageViewer.cs
- GeometryCombineModeValidation.cs
- ChtmlSelectionListAdapter.cs
- FontStyle.cs
- ProcessManager.cs
- ApplicationManager.cs
- TypeUsage.cs
- Helpers.cs
- WindowsNonControl.cs
- CalloutQueueItem.cs
- IISUnsafeMethods.cs
- GridItemCollection.cs
- XpsException.cs
- WsatStrings.cs
- WebPartAuthorizationEventArgs.cs
- Control.cs
- PrintDocument.cs
- AudioLevelUpdatedEventArgs.cs
- ConnectorSelectionGlyph.cs
- HtmlHistory.cs
- SmiXetterAccessMap.cs
- SendingRequestEventArgs.cs
- GPPOINT.cs
- DataGridViewCellStyleConverter.cs
- ObjectStateEntry.cs
- ValueSerializer.cs
- figurelengthconverter.cs
- CodeGenerator.cs
- MaterialCollection.cs
- TextTreeText.cs
- Win32.cs
- Number.cs
- ItemCollectionEditor.cs
- XmlSerializerSection.cs
- BufferModeSettings.cs
- BaseTemplateParser.cs
- SemanticResultKey.cs
- PointLight.cs
- TerminateDesigner.cs
- ScrollEvent.cs