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
- OpenFileDialog.cs
- ExpressionPrinter.cs
- AssemblyCache.cs
- EventEntry.cs
- documentsequencetextpointer.cs
- ReferenceEqualityComparer.cs
- TabItemAutomationPeer.cs
- UInt32Storage.cs
- OptimisticConcurrencyException.cs
- ResumeStoryboard.cs
- PointCollectionConverter.cs
- cryptoapiTransform.cs
- KeyedHashAlgorithm.cs
- DataGridViewDataErrorEventArgs.cs
- CodeCompiler.cs
- AnimationLayer.cs
- WindowsEditBoxRange.cs
- DrawListViewSubItemEventArgs.cs
- ScriptControl.cs
- PipelineComponent.cs
- ByteStream.cs
- Button.cs
- embossbitmapeffect.cs
- GridItem.cs
- DiscoveryDocumentSearchPattern.cs
- CngKeyBlobFormat.cs
- HttpCookiesSection.cs
- PrintControllerWithStatusDialog.cs
- XslNumber.cs
- HttpResponse.cs
- BasicCommandTreeVisitor.cs
- AssemblyFilter.cs
- SliderAutomationPeer.cs
- AutomationEventArgs.cs
- PrintDialog.cs
- CookieParameter.cs
- PropertyInformationCollection.cs
- hwndwrapper.cs
- XhtmlBasicSelectionListAdapter.cs
- CodeCommentStatement.cs
- BinaryFormatterWriter.cs
- Hash.cs
- FixedNode.cs
- WebPartConnectionCollection.cs
- AppDomainFactory.cs
- DbDeleteCommandTree.cs
- regiisutil.cs
- x509utils.cs
- ExcCanonicalXml.cs
- SessionState.cs
- CapacityStreamGeometryContext.cs
- CFGGrammar.cs
- MessageDecoder.cs
- ConfigurationProperty.cs
- assertwrapper.cs
- ListViewItem.cs
- UrlAuthFailedErrorFormatter.cs
- VectorValueSerializer.cs
- CodeArrayCreateExpression.cs
- FillRuleValidation.cs
- PipeConnection.cs
- HttpRequestWrapper.cs
- BitmapData.cs
- ToolStripArrowRenderEventArgs.cs
- LabelDesigner.cs
- GeneralTransformGroup.cs
- ServiceThrottlingBehavior.cs
- PasswordDeriveBytes.cs
- TrustManagerMoreInformation.cs
- WindowsSlider.cs
- InitializationEventAttribute.cs
- ConfigPathUtility.cs
- ScrollEvent.cs
- QueryCacheEntry.cs
- RelativeSource.cs
- RTLAwareMessageBox.cs
- SqlAliasesReferenced.cs
- CodeIdentifiers.cs
- PointAnimationUsingPath.cs
- PKCS1MaskGenerationMethod.cs
- SecureEnvironment.cs
- FacetDescription.cs
- Function.cs
- ObjectDataSourceView.cs
- RetrieveVirtualItemEventArgs.cs
- AbstractDataSvcMapFileLoader.cs
- ProfileParameter.cs
- ColorConvertedBitmap.cs
- AdornerHitTestResult.cs
- JavaScriptString.cs
- ListViewInsertionMark.cs
- DatagridviewDisplayedBandsData.cs
- DataGridViewSelectedRowCollection.cs
- TransformGroup.cs
- SrgsElementFactory.cs
- FileLogRecordStream.cs
- MessageQueueTransaction.cs
- _WinHttpWebProxyDataBuilder.cs
- ExternalFile.cs
- MethodExpr.cs