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
- SQLBytes.cs
- UIElement.cs
- COAUTHIDENTITY.cs
- AsymmetricAlgorithm.cs
- TableLayoutStyleCollection.cs
- DropDownList.cs
- EventRoute.cs
- IdentityValidationException.cs
- PasswordTextNavigator.cs
- ParserOptions.cs
- ClientTarget.cs
- BinaryMessageEncodingElement.cs
- __ConsoleStream.cs
- DbBuffer.cs
- CreateParams.cs
- ValueUtilsSmi.cs
- ProfileProvider.cs
- WebPartVerbCollection.cs
- FileUpload.cs
- PingReply.cs
- ObfuscateAssemblyAttribute.cs
- XmlNamedNodeMap.cs
- Guid.cs
- SecurityHeaderTokenResolver.cs
- WindowsIdentity.cs
- Animatable.cs
- ObjectView.cs
- DocumentCollection.cs
- DragStartedEventArgs.cs
- CancellationHandler.cs
- ThrowHelper.cs
- DockEditor.cs
- MemberAssignment.cs
- RecognizedAudio.cs
- SplineQuaternionKeyFrame.cs
- Vector3DCollection.cs
- StyleConverter.cs
- BrushValueSerializer.cs
- TextEditorSelection.cs
- PresentationTraceSources.cs
- ArcSegment.cs
- OutputCacheSection.cs
- UserPersonalizationStateInfo.cs
- CallbackValidatorAttribute.cs
- Attributes.cs
- StorageTypeMapping.cs
- PolicyLevel.cs
- XmlCodeExporter.cs
- DateTimeParse.cs
- IPipelineRuntime.cs
- ScrollEvent.cs
- NavigationCommands.cs
- SecurityCookieModeValidator.cs
- EventWaitHandle.cs
- GridViewDeleteEventArgs.cs
- TraceHandlerErrorFormatter.cs
- FixedSOMLineRanges.cs
- HtmlFormParameterReader.cs
- PropertyGridEditorPart.cs
- XmlBoundElement.cs
- DataPagerFieldCommandEventArgs.cs
- ActiveXHelper.cs
- StorageScalarPropertyMapping.cs
- PreservationFileWriter.cs
- RecognitionResult.cs
- MarshalByValueComponent.cs
- BinaryUtilClasses.cs
- SamlConstants.cs
- SoapExtension.cs
- CalendarAutoFormat.cs
- AnchorEditor.cs
- ToolStripContainerDesigner.cs
- DesignerCategoryAttribute.cs
- CombinedGeometry.cs
- IsolatedStorageFile.cs
- SystemResourceHost.cs
- VarRemapper.cs
- NumberFunctions.cs
- ImageMapEventArgs.cs
- XmlTextReaderImplHelpers.cs
- SqlCommandSet.cs
- SystemColors.cs
- ReachBasicContext.cs
- Calendar.cs
- ValidationRule.cs
- MessageQueuePermissionEntryCollection.cs
- ParenthesizePropertyNameAttribute.cs
- MsmqBindingMonitor.cs
- PropertyEmitter.cs
- EntitySqlQueryBuilder.cs
- ThreadSafeList.cs
- RequestTimeoutManager.cs
- RadialGradientBrush.cs
- PageCodeDomTreeGenerator.cs
- ScriptHandlerFactory.cs
- CommandEventArgs.cs
- HtmlCommandAdapter.cs
- RangeValueProviderWrapper.cs
- Array.cs
- DataConnectionHelper.cs