Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / DirectionalLight.cs / 1305600 / 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
- HTTPNotFoundHandler.cs
- WmlPanelAdapter.cs
- InputProcessorProfiles.cs
- BrowserDefinitionCollection.cs
- SqlProfileProvider.cs
- StateMachineWorkflow.cs
- GAC.cs
- StandardToolWindows.cs
- DataSourceNameHandler.cs
- LowerCaseStringConverter.cs
- RightNameExpirationInfoPair.cs
- XmlSchema.cs
- XmlObjectSerializerWriteContext.cs
- TextRunCache.cs
- BulletDecorator.cs
- VirtualPathData.cs
- PointLight.cs
- FontInfo.cs
- StylusButtonEventArgs.cs
- Highlights.cs
- WebPartsPersonalization.cs
- BitmapEffectCollection.cs
- DiagnosticsConfigurationHandler.cs
- Win32KeyboardDevice.cs
- ListenerConnectionModeReader.cs
- DispatchChannelSink.cs
- TypeDelegator.cs
- SqlClientWrapperSmiStreamChars.cs
- WebEventCodes.cs
- WorkflowStateRollbackService.cs
- Activator.cs
- RolePrincipal.cs
- DataGridColumnHeader.cs
- PageCache.cs
- FormsAuthentication.cs
- DesigntimeLicenseContext.cs
- HttpRequest.cs
- IERequestCache.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- DataStreams.cs
- BitStack.cs
- WebFormsRootDesigner.cs
- Thread.cs
- BookmarkList.cs
- ClientRuntimeConfig.cs
- MD5.cs
- ContentPathSegment.cs
- followingquery.cs
- WebBrowserDocumentCompletedEventHandler.cs
- HitTestParameters3D.cs
- CharacterShapingProperties.cs
- SystemWebCachingSectionGroup.cs
- KeyInterop.cs
- RequestQueue.cs
- documentation.cs
- FaultBookmark.cs
- Int32KeyFrameCollection.cs
- SeekableReadStream.cs
- TypeUtil.cs
- TextBoxLine.cs
- RawStylusInputCustomDataList.cs
- TimelineClockCollection.cs
- MeasurementDCInfo.cs
- TextFormatter.cs
- MemberPath.cs
- HttpRequest.cs
- XPathItem.cs
- COSERVERINFO.cs
- SafeNativeMethods.cs
- ScrollProperties.cs
- LookupBindingPropertiesAttribute.cs
- ProfessionalColors.cs
- ProtocolsSection.cs
- ProfileSection.cs
- DefaultTypeArgumentAttribute.cs
- FigureHelper.cs
- TrackingStringDictionary.cs
- BitmapSource.cs
- PtsContext.cs
- UpdateException.cs
- ProxyHelper.cs
- ThemeDirectoryCompiler.cs
- XmlSchemaSubstitutionGroup.cs
- DataGridTable.cs
- SqlXml.cs
- XmlSerializerSection.cs
- TableAutomationPeer.cs
- Span.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- PersonalizationDictionary.cs
- PreviewKeyDownEventArgs.cs
- DataKeyCollection.cs
- SchemaAttDef.cs
- InteropAutomationProvider.cs
- OracleColumn.cs
- ConfigUtil.cs
- SystemColors.cs
- UnlockInstanceAsyncResult.cs
- Comparer.cs
- HwndStylusInputProvider.cs