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
- wgx_exports.cs
- SspiWrapper.cs
- PageParserFilter.cs
- DiscoveryOperationContextExtension.cs
- HitTestResult.cs
- WindowsGraphics.cs
- VisualStyleElement.cs
- StatusStrip.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- CommandEventArgs.cs
- Token.cs
- DocumentXPathNavigator.cs
- coordinator.cs
- AssemblyAttributes.cs
- CompoundFileDeflateTransform.cs
- DataGridViewIntLinkedList.cs
- X509ClientCertificateAuthenticationElement.cs
- ContentOperations.cs
- ValidatorCollection.cs
- MultiPartWriter.cs
- StylusPointCollection.cs
- ProtocolsSection.cs
- BaseServiceProvider.cs
- AccessDataSourceView.cs
- PtsContext.cs
- OracleDataAdapter.cs
- Dispatcher.cs
- PingOptions.cs
- RulePatternOps.cs
- MenuItem.cs
- DataGridClipboardHelper.cs
- CatalogPartChrome.cs
- XmlChoiceIdentifierAttribute.cs
- Version.cs
- ZoneLinkButton.cs
- ListViewItemMouseHoverEvent.cs
- DataGridState.cs
- NegationPusher.cs
- HighlightVisual.cs
- XmlDataCollection.cs
- PipelineDeploymentState.cs
- DispatcherObject.cs
- AttributeCallbackBuilder.cs
- SafeCoTaskMem.cs
- BidOverLoads.cs
- XmlChildNodes.cs
- XmlILConstructAnalyzer.cs
- ProcessManager.cs
- _ConnectOverlappedAsyncResult.cs
- DesignBindingValueUIHandler.cs
- ItemCollection.cs
- XamlSerializer.cs
- CompilationUnit.cs
- ExitEventArgs.cs
- ParallelTimeline.cs
- AuthenticateEventArgs.cs
- DataGridPagerStyle.cs
- CodePageUtils.cs
- NativeMethods.cs
- DebugView.cs
- SystemSounds.cs
- DataPagerFieldCollection.cs
- HtmlInputFile.cs
- RightsManagementResourceHelper.cs
- Baml6Assembly.cs
- GlyphRunDrawing.cs
- CatalogZone.cs
- CodeTypeMemberCollection.cs
- WebPartDesigner.cs
- ResourceContainer.cs
- WebHttpSecurityElement.cs
- WindowInteractionStateTracker.cs
- TextEditorSpelling.cs
- CodePageEncoding.cs
- SignalGate.cs
- NavigationService.cs
- ThemeDirectoryCompiler.cs
- DataRecordInternal.cs
- TextRenderer.cs
- TextBlockAutomationPeer.cs
- Version.cs
- CachedPathData.cs
- IdentifierCollection.cs
- EntityParameterCollection.cs
- Metadata.cs
- FormsAuthenticationTicket.cs
- PartialArray.cs
- Logging.cs
- ConstrainedDataObject.cs
- SplashScreenNativeMethods.cs
- ObservableCollection.cs
- DataGridViewLinkCell.cs
- _ProxyChain.cs
- LassoHelper.cs
- BCLDebug.cs
- SizeLimitedCache.cs
- FontFamilyConverter.cs
- MatrixAnimationUsingPath.cs
- TreeChangeInfo.cs
- UIPropertyMetadata.cs