Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / DirectionalLight.cs / 1 / DirectionalLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D directional light implementation. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/18/2003 : [....] - 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
- ContextMenuStrip.cs
- ActiveXSite.cs
- TraceProvider.cs
- SchemeSettingElementCollection.cs
- BookmarkTable.cs
- ZipIOExtraFieldElement.cs
- SqlParameter.cs
- DataSourceProvider.cs
- ButtonBase.cs
- SHA384.cs
- XsdValidatingReader.cs
- RootProfilePropertySettingsCollection.cs
- FtpWebRequest.cs
- PeerCredentialElement.cs
- ProfileEventArgs.cs
- HierarchicalDataBoundControl.cs
- MetadataArtifactLoaderCompositeFile.cs
- ThreadExceptionDialog.cs
- ProviderCommandInfoUtils.cs
- XmlNodeChangedEventArgs.cs
- AuthorizationRule.cs
- ResponseStream.cs
- CapabilitiesSection.cs
- TrackingRecord.cs
- NegatedCellConstant.cs
- BooleanFunctions.cs
- TrustSection.cs
- QueryOutputWriter.cs
- ToRequest.cs
- UpdateTracker.cs
- ListViewItemSelectionChangedEvent.cs
- TimeoutException.cs
- EventHandlersStore.cs
- RotateTransform.cs
- TrackingRecord.cs
- CqlQuery.cs
- RowSpanVector.cs
- TcpClientCredentialType.cs
- ListViewCancelEventArgs.cs
- ExecutionEngineException.cs
- IImplicitResourceProvider.cs
- UnicastIPAddressInformationCollection.cs
- Span.cs
- GridViewPageEventArgs.cs
- OdbcStatementHandle.cs
- _BasicClient.cs
- ListViewInsertedEventArgs.cs
- MsmqProcessProtocolHandler.cs
- MsmqBindingBase.cs
- CallContext.cs
- PerformanceCounter.cs
- SRef.cs
- ObservableDictionary.cs
- FunctionImportElement.cs
- DataControlCommands.cs
- DurationConverter.cs
- AstTree.cs
- RoleManagerModule.cs
- WorkflowLayouts.cs
- ImageAnimator.cs
- WpfKnownTypeInvoker.cs
- ReaderOutput.cs
- XmlSchemaGroupRef.cs
- GlyphRunDrawing.cs
- EventLogHandle.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- CompatibleIComparer.cs
- CqlWriter.cs
- RegexTypeEditor.cs
- BigInt.cs
- Internal.cs
- Tuple.cs
- ModelVisual3D.cs
- ExtensionDataObject.cs
- AccessedThroughPropertyAttribute.cs
- FileEnumerator.cs
- DataGridViewImageCell.cs
- ObjectAnimationBase.cs
- PhonemeConverter.cs
- DocumentGridContextMenu.cs
- FixedFlowMap.cs
- RichTextBox.cs
- ConfigurationSectionHelper.cs
- HtmlMeta.cs
- ElementNotEnabledException.cs
- VectorKeyFrameCollection.cs
- SelectionChangedEventArgs.cs
- InstanceContextManager.cs
- securitymgrsite.cs
- TagNameToTypeMapper.cs
- MenuItemStyleCollectionEditor.cs
- TypeConverterMarkupExtension.cs
- DataGridAddNewRow.cs
- DataGridViewUtilities.cs
- AnonymousIdentificationSection.cs
- NumericUpDownAccelerationCollection.cs
- XmlSerializationGeneratedCode.cs
- Ref.cs
- WebBrowserPermission.cs
- DataGridViewSortCompareEventArgs.cs