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
- BamlBinaryWriter.cs
- XsltLoader.cs
- JournalNavigationScope.cs
- NegotiateStream.cs
- SelectionHighlightInfo.cs
- HttpTransportSecurity.cs
- WindowProviderWrapper.cs
- ObjectToIdCache.cs
- AttributeParameterInfo.cs
- SerializationSectionGroup.cs
- RuleDefinitions.cs
- QilUnary.cs
- OdbcParameter.cs
- EventLogPermission.cs
- ParseChildrenAsPropertiesAttribute.cs
- KeyProperty.cs
- HwndHost.cs
- PropertyDescriptor.cs
- BinaryMessageFormatter.cs
- PropertyDescriptorComparer.cs
- RevocationPoint.cs
- webeventbuffer.cs
- IMembershipProvider.cs
- Rfc2898DeriveBytes.cs
- OutputChannelBinder.cs
- ReadOnlyObservableCollection.cs
- ColorComboBox.cs
- messageonlyhwndwrapper.cs
- SplineKeyFrames.cs
- autovalidator.cs
- DocumentPageView.cs
- LockedHandleGlyph.cs
- DoubleCollectionConverter.cs
- TextCompositionEventArgs.cs
- ActivityExecutorDelegateInfo.cs
- DocumentsTrace.cs
- SelectiveScrollingGrid.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- _PooledStream.cs
- ToReply.cs
- DataGridViewRowConverter.cs
- WebChannelFactory.cs
- Crypto.cs
- CodeCatchClause.cs
- StringToken.cs
- CounterCreationData.cs
- BulletedListEventArgs.cs
- IntegrationExceptionEventArgs.cs
- SchemaNamespaceManager.cs
- ConfigurationValues.cs
- SymLanguageVendor.cs
- ObjectSecurity.cs
- basevalidator.cs
- NeutralResourcesLanguageAttribute.cs
- RelatedCurrencyManager.cs
- StorageEntityContainerMapping.cs
- WebConfigurationManager.cs
- QuaternionAnimationUsingKeyFrames.cs
- ExpressionList.cs
- ResXDataNode.cs
- ServerIdentity.cs
- NumberEdit.cs
- GridViewEditEventArgs.cs
- EnumerableCollectionView.cs
- DataFormats.cs
- CounterSetInstanceCounterDataSet.cs
- XmlSchemaAny.cs
- CaseInsensitiveComparer.cs
- CornerRadiusConverter.cs
- TextParaLineResult.cs
- PenContexts.cs
- DataBoundControl.cs
- FontFamilyIdentifier.cs
- DataTablePropertyDescriptor.cs
- ImageButton.cs
- ListViewUpdateEventArgs.cs
- BufferedGraphics.cs
- Form.cs
- PropertyMetadata.cs
- DataGridViewHitTestInfo.cs
- StatusBarItemAutomationPeer.cs
- DeclaredTypeValidatorAttribute.cs
- TraceSection.cs
- ObjectMaterializedEventArgs.cs
- SqlProviderManifest.cs
- DeclarativeCatalogPart.cs
- TransformValueSerializer.cs
- CompilationUtil.cs
- ModelPerspective.cs
- XPathDocument.cs
- ChangePassword.cs
- LineServicesCallbacks.cs
- ModelItemDictionary.cs
- DataGridTextBox.cs
- DataGridViewLayoutData.cs
- CryptoProvider.cs
- ScrollProviderWrapper.cs
- configsystem.cs
- StrongName.cs
- XmlSchemaAppInfo.cs