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
- ContainerControl.cs
- CompressEmulationStream.cs
- IDReferencePropertyAttribute.cs
- CryptoKeySecurity.cs
- DesignerActionListCollection.cs
- TextTreeObjectNode.cs
- SocketElement.cs
- ClientTargetCollection.cs
- ClientScriptManagerWrapper.cs
- ArraySegment.cs
- Typography.cs
- XmlDictionaryReader.cs
- _MultipleConnectAsync.cs
- QuarticEase.cs
- MsdtcClusterUtils.cs
- DataGridViewSelectedCellCollection.cs
- FontInfo.cs
- SourceFilter.cs
- GridViewColumn.cs
- AspNetSynchronizationContext.cs
- SimplePropertyEntry.cs
- FixedTextView.cs
- OdbcConnectionHandle.cs
- ListenerConnectionDemuxer.cs
- DrawingGroup.cs
- oledbmetadatacolumnnames.cs
- UpdateRecord.cs
- ToolBarButtonDesigner.cs
- WaveHeader.cs
- StickyNoteContentControl.cs
- ChildrenQuery.cs
- TimerEventSubscriptionCollection.cs
- NamespaceCollection.cs
- TextAdaptor.cs
- CatalogPartChrome.cs
- DataGridTextBox.cs
- OracleNumber.cs
- MethodSignatureGenerator.cs
- HttpHandlerAction.cs
- DbProviderFactory.cs
- WindowsListViewGroupSubsetLink.cs
- ValueType.cs
- RuntimeConfigLKG.cs
- sqlinternaltransaction.cs
- TextFormatterImp.cs
- UIElementParagraph.cs
- ArcSegment.cs
- SendActivity.cs
- SecurityTokenValidationException.cs
- JsonReader.cs
- AliasGenerator.cs
- BaseResourcesBuildProvider.cs
- ParentUndoUnit.cs
- ToolStripComboBox.cs
- CustomWebEventKey.cs
- ClientSideProviderDescription.cs
- ResourcePool.cs
- Activity.cs
- ConfigurationLockCollection.cs
- WpfKnownMemberInvoker.cs
- UiaCoreTypesApi.cs
- ExceptionRoutedEventArgs.cs
- TargetInvocationException.cs
- AttributeEmitter.cs
- CapabilitiesAssignment.cs
- ArglessEventHandlerProxy.cs
- SelectionProcessor.cs
- NameSpaceExtractor.cs
- StrokeCollectionConverter.cs
- DelegatingConfigHost.cs
- XmlExceptionHelper.cs
- ImmutableCollection.cs
- XmlFileEditor.cs
- _ContextAwareResult.cs
- TreeIterators.cs
- DataServiceBuildProvider.cs
- SafeHandle.cs
- XmlArrayItemAttributes.cs
- SafeProcessHandle.cs
- BackEase.cs
- ProgramNode.cs
- ZipIOCentralDirectoryFileHeader.cs
- Pair.cs
- KeyEventArgs.cs
- SchemaElementLookUpTableEnumerator.cs
- ExpressionTable.cs
- TextElementEnumerator.cs
- EpmTargetTree.cs
- CompareInfo.cs
- StringValueSerializer.cs
- ModelTypeConverter.cs
- CharacterMetricsDictionary.cs
- NameValueConfigurationCollection.cs
- HttpListenerPrefixCollection.cs
- RedirectionProxy.cs
- EntityUtil.cs
- DATA_BLOB.cs
- HtmlInputControl.cs
- StackOverflowException.cs
- DomainUpDown.cs