Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- TableLayoutColumnStyleCollection.cs
- GACMembershipCondition.cs
- ping.cs
- Adorner.cs
- Literal.cs
- ToolStripItem.cs
- DbConvert.cs
- EncodingStreamWrapper.cs
- MessageQueueInstaller.cs
- RewritingValidator.cs
- CredentialCache.cs
- TypeUnloadedException.cs
- TreeViewImageKeyConverter.cs
- DrawingVisual.cs
- PresentationAppDomainManager.cs
- ClientSettingsStore.cs
- Assert.cs
- DtrList.cs
- IBuiltInEvidence.cs
- PieceNameHelper.cs
- EntityException.cs
- TextElementCollectionHelper.cs
- DeviceContext2.cs
- WorkflowElementDialog.cs
- PersonalizationStateQuery.cs
- MailAddress.cs
- FunctionImportElement.cs
- ObjectConverter.cs
- x509utils.cs
- WeakHashtable.cs
- OdbcStatementHandle.cs
- ServiceObjectContainer.cs
- MbpInfo.cs
- PowerStatus.cs
- TemplateControlCodeDomTreeGenerator.cs
- LocatorBase.cs
- RangeValidator.cs
- RoleService.cs
- BamlRecords.cs
- RuntimeResourceSet.cs
- HtmlPanelAdapter.cs
- TableLayoutPanel.cs
- RotateTransform.cs
- LinqDataSourceContextData.cs
- LambdaCompiler.Address.cs
- ReadOnlyCollectionBase.cs
- XPathAncestorIterator.cs
- KeyValueInternalCollection.cs
- TabItemAutomationPeer.cs
- WeakReferenceEnumerator.cs
- ImmutableCommunicationTimeouts.cs
- HostingEnvironment.cs
- WindowsGraphics2.cs
- MethodBuilder.cs
- XmlImplementation.cs
- BasicDesignerLoader.cs
- VectorCollection.cs
- ProgressBar.cs
- AspNetHostingPermission.cs
- BlurEffect.cs
- Mouse.cs
- SecurityPermission.cs
- EnumerableRowCollection.cs
- EmbeddedMailObjectsCollection.cs
- ListCollectionView.cs
- TypeBuilderInstantiation.cs
- DataColumnMappingCollection.cs
- TextBoxBase.cs
- GroupPartitionExpr.cs
- EdmToObjectNamespaceMap.cs
- XmlArrayItemAttributes.cs
- FileClassifier.cs
- PrePrepareMethodAttribute.cs
- ExeContext.cs
- DrawingContext.cs
- BamlRecords.cs
- TemplateControlParser.cs
- EncoderNLS.cs
- DataControlExtensions.cs
- XmlSchemaChoice.cs
- XmlSignatureProperties.cs
- CommandConverter.cs
- DependencyObject.cs
- MdImport.cs
- DispatchWrapper.cs
- EnumValidator.cs
- MSHTMLHost.cs
- AssociationTypeEmitter.cs
- DocumentProperties.cs
- StreamGeometry.cs
- FrameworkPropertyMetadata.cs
- ViewStateException.cs
- QueryOutputWriter.cs
- StringPropertyBuilder.cs
- FtpWebResponse.cs
- DPCustomTypeDescriptor.cs
- ErrorWrapper.cs
- OperationPickerDialog.cs
- FileDialogCustomPlace.cs
- SerializableTypeCodeDomSerializer.cs