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
- OleDbCommand.cs
- ProjectedSlot.cs
- LinearKeyFrames.cs
- DefaultMergeHelper.cs
- WaitingCursor.cs
- RuleSettingsCollection.cs
- QuaternionConverter.cs
- XslException.cs
- Positioning.cs
- FrameworkContentElement.cs
- HostProtectionException.cs
- BaseCodeDomTreeGenerator.cs
- ValidatingCollection.cs
- SymLanguageType.cs
- CodeIndexerExpression.cs
- PathFigure.cs
- ExpressionLink.cs
- followingquery.cs
- InputLanguage.cs
- SapiInterop.cs
- MobileResource.cs
- EmbeddedMailObject.cs
- FileUtil.cs
- VisualStateManager.cs
- ObservableDictionary.cs
- StorageFunctionMapping.cs
- MyContact.cs
- StreamAsIStream.cs
- DesignerTextViewAdapter.cs
- BinaryFormatter.cs
- ShaperBuffers.cs
- ECDsaCng.cs
- InstanceCreationEditor.cs
- Wow64ConfigurationLoader.cs
- SimpleFileLog.cs
- XmlSchemaFacet.cs
- LogicalExpr.cs
- AccessDataSourceView.cs
- XmlStringTable.cs
- StringPropertyBuilder.cs
- ValueTypeFieldReference.cs
- ResolveResponse.cs
- InvalidOleVariantTypeException.cs
- AndCondition.cs
- StreamMarshaler.cs
- ExtendedPropertyDescriptor.cs
- SizeLimitedCache.cs
- BaseCodePageEncoding.cs
- ResourceAssociationSetEnd.cs
- ListViewDeletedEventArgs.cs
- MeasureItemEvent.cs
- SystemResources.cs
- QilExpression.cs
- EventPropertyMap.cs
- TextPenaltyModule.cs
- GPRECT.cs
- ScriptingRoleServiceSection.cs
- DataSourceControl.cs
- DesignerAutoFormat.cs
- SqlClientWrapperSmiStreamChars.cs
- DataServiceExpressionVisitor.cs
- ColumnResult.cs
- HttpFileCollection.cs
- _SslSessionsCache.cs
- PixelFormatConverter.cs
- DataGridViewCellConverter.cs
- SupportingTokenDuplexChannel.cs
- RootBrowserWindowAutomationPeer.cs
- IdlingCommunicationPool.cs
- StorageFunctionMapping.cs
- InheritanceContextHelper.cs
- Soap.cs
- AttributedMetaModel.cs
- XmlSchemaRedefine.cs
- Viewport3DAutomationPeer.cs
- PublishLicense.cs
- StaticContext.cs
- SymbolEqualComparer.cs
- GrammarBuilderRuleRef.cs
- OrderPreservingPipeliningSpoolingTask.cs
- DocComment.cs
- Int16.cs
- ConfigXmlAttribute.cs
- CodeTryCatchFinallyStatement.cs
- Double.cs
- WebResourceUtil.cs
- TextComposition.cs
- CompositeActivityDesigner.cs
- ControlValuePropertyAttribute.cs
- StatusBarDrawItemEvent.cs
- BitmapCache.cs
- ManagedWndProcTracker.cs
- LoginCancelEventArgs.cs
- File.cs
- OleServicesContext.cs
- ThreadSafeMessageFilterTable.cs
- Brushes.cs
- RadioButtonRenderer.cs
- DomainUpDown.cs
- DBSchemaTable.cs