Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Pens.cs
- versioninfo.cs
- AutomationPeer.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Crc32.cs
- Speller.cs
- AssemblyAttributesGoHere.cs
- SizeF.cs
- TripleDES.cs
- UnsafeMethods.cs
- Single.cs
- Floater.cs
- SQLInt32.cs
- CapiSymmetricAlgorithm.cs
- ScriptIgnoreAttribute.cs
- StyleSheetComponentEditor.cs
- ApplicationException.cs
- PropertyDescriptorCollection.cs
- ItemType.cs
- PackagePartCollection.cs
- QueryCreatedEventArgs.cs
- ContextMenuService.cs
- SoapParser.cs
- FontDriver.cs
- EntityDataSourceStatementEditor.cs
- CustomPopupPlacement.cs
- Empty.cs
- TextFragmentEngine.cs
- SegmentInfo.cs
- DrawingVisualDrawingContext.cs
- PropertyEntry.cs
- EntitySqlQueryCacheKey.cs
- XpsException.cs
- TogglePatternIdentifiers.cs
- CleanUpVirtualizedItemEventArgs.cs
- DashStyle.cs
- FunctionDetailsReader.cs
- FlowDocument.cs
- ping.cs
- TableLayoutRowStyleCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CollectionView.cs
- RankException.cs
- SQLRoleProvider.cs
- JpegBitmapEncoder.cs
- DataGridViewControlCollection.cs
- HtmlPhoneCallAdapter.cs
- SimpleMailWebEventProvider.cs
- __Error.cs
- SqlClientFactory.cs
- mactripleDES.cs
- ExclusiveTcpListener.cs
- BindingContext.cs
- Encoder.cs
- InheritanceAttribute.cs
- ScrollPattern.cs
- AmbientValueAttribute.cs
- Sql8ExpressionRewriter.cs
- FileNotFoundException.cs
- PbrsForward.cs
- Base64Encoder.cs
- ExpressionVisitor.cs
- CustomError.cs
- TriState.cs
- InheritedPropertyChangedEventArgs.cs
- SignatureDescription.cs
- RegexNode.cs
- MLangCodePageEncoding.cs
- ControlPaint.cs
- CompositeControlDesigner.cs
- XmlObjectSerializer.cs
- CompilerLocalReference.cs
- FigureHelper.cs
- BamlLocalizableResource.cs
- GACMembershipCondition.cs
- ImportContext.cs
- TextRangeSerialization.cs
- System.Data_BID.cs
- AdRotatorDesigner.cs
- RowUpdatingEventArgs.cs
- FileSecurity.cs
- PrincipalPermission.cs
- RenderTargetBitmap.cs
- HtmlEmptyTagControlBuilder.cs
- SqlTrackingService.cs
- RuleRefElement.cs
- AnonymousIdentificationModule.cs
- PreviewPrintController.cs
- ComNativeDescriptor.cs
- ClaimTypeRequirement.cs
- ClientConfigurationHost.cs
- HttpStreamMessage.cs
- DBSchemaTable.cs
- ListBox.cs
- KnowledgeBase.cs
- Internal.cs
- SizeChangedEventArgs.cs
- NullExtension.cs
- XmlSchemaFacet.cs
- ClipboardProcessor.cs