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
- SizeChangedInfo.cs
- MaterialGroup.cs
- SspiWrapper.cs
- MeasurementDCInfo.cs
- HTMLTextWriter.cs
- SizeIndependentAnimationStorage.cs
- ValidatorCollection.cs
- SecurityKeyIdentifier.cs
- FileSystemEventArgs.cs
- RequestCachingSection.cs
- wgx_exports.cs
- CommandManager.cs
- GeometryCombineModeValidation.cs
- RotationValidation.cs
- SettingsProviderCollection.cs
- ListItemParagraph.cs
- SafeRegistryHandle.cs
- XmlNamespaceMappingCollection.cs
- DefaultBinder.cs
- ProvidersHelper.cs
- DiagnosticsConfigurationHandler.cs
- FontCollection.cs
- Aggregates.cs
- WebPartConnectionsDisconnectVerb.cs
- NeutralResourcesLanguageAttribute.cs
- ErrorHandler.cs
- LiteralSubsegment.cs
- BuiltInExpr.cs
- SqlBooleanMismatchVisitor.cs
- RemotingConfigParser.cs
- DataGridViewCellMouseEventArgs.cs
- ResponseStream.cs
- ProfileProvider.cs
- Directory.cs
- DynamicResourceExtension.cs
- DataObjectSettingDataEventArgs.cs
- WebPartChrome.cs
- securestring.cs
- BamlStream.cs
- PointHitTestParameters.cs
- __Error.cs
- DataGridSortCommandEventArgs.cs
- FileAuthorizationModule.cs
- TraceSection.cs
- FileDataSourceCache.cs
- GatewayDefinition.cs
- WmlMobileTextWriter.cs
- ContentValidator.cs
- ClientOptions.cs
- TypeRefElement.cs
- ToolStripDropDownClosedEventArgs.cs
- TransformerInfoCollection.cs
- InputMethodStateTypeInfo.cs
- CanExecuteRoutedEventArgs.cs
- Type.cs
- DataComponentMethodGenerator.cs
- XmlEntity.cs
- FileIOPermission.cs
- SmiRequestExecutor.cs
- LicenseManager.cs
- RecognizedAudio.cs
- PropertyPathWorker.cs
- SoapExtensionImporter.cs
- CategoryAttribute.cs
- BuildResult.cs
- IconHelper.cs
- CopyNamespacesAction.cs
- httpapplicationstate.cs
- Point4DConverter.cs
- ProtocolsConfigurationEntry.cs
- ExpressionBuilder.cs
- MILUtilities.cs
- unsafenativemethodstextservices.cs
- CodeTypeParameterCollection.cs
- _ConnectionGroup.cs
- WebRequestModuleElement.cs
- TypeUtils.cs
- BitmapEffect.cs
- SmtpTransport.cs
- ContractDescription.cs
- DbParameterCollectionHelper.cs
- FilteredDataSetHelper.cs
- SmtpDigestAuthenticationModule.cs
- FramingEncoders.cs
- SqlTriggerContext.cs
- GPRECTF.cs
- TripleDESCryptoServiceProvider.cs
- ScrollableControl.cs
- SplineQuaternionKeyFrame.cs
- ControlDesigner.cs
- nulltextnavigator.cs
- EntityCollection.cs
- XPathNavigatorReader.cs
- ServicePointManager.cs
- XmlSchemaSubstitutionGroup.cs
- SmtpMail.cs
- WaitingCursor.cs
- PrivilegedConfigurationManager.cs
- StreamProxy.cs
- ScriptingAuthenticationServiceSection.cs