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
- IndexedSelectQueryOperator.cs
- WorkflowTerminatedException.cs
- UIntPtr.cs
- HttpPostServerProtocol.cs
- RuntimeHandles.cs
- Typeface.cs
- SpellerError.cs
- InvokePatternIdentifiers.cs
- GacUtil.cs
- SystemTcpConnection.cs
- DataGridLengthConverter.cs
- ActiveXContainer.cs
- DataGridViewImageColumn.cs
- RowToFieldTransformer.cs
- PagerSettings.cs
- InstanceHandleReference.cs
- ActiveXHelper.cs
- Base64Stream.cs
- AddressHeaderCollection.cs
- XmlSerializer.cs
- SafeRightsManagementPubHandle.cs
- ServerIdentity.cs
- EnlistmentTraceIdentifier.cs
- DataGridTableCollection.cs
- ReaderWriterLock.cs
- LassoSelectionBehavior.cs
- CryptoApi.cs
- CounterCreationData.cs
- ContentPlaceHolder.cs
- WmpBitmapDecoder.cs
- PersonalizationAdministration.cs
- GridViewAutomationPeer.cs
- WorkflowFormatterBehavior.cs
- Grant.cs
- DispatcherEventArgs.cs
- WsdlBuildProvider.cs
- UnionCqlBlock.cs
- SingleStorage.cs
- CommandArguments.cs
- XmlPropertyBag.cs
- HwndHostAutomationPeer.cs
- ClientScriptManagerWrapper.cs
- BigInt.cs
- ImageInfo.cs
- DataGridViewRowStateChangedEventArgs.cs
- CompositionTarget.cs
- ParameterReplacerVisitor.cs
- PageCatalogPartDesigner.cs
- IconConverter.cs
- LocationSectionRecord.cs
- SqlParameterizer.cs
- ReadOnlyHierarchicalDataSource.cs
- ProvideValueServiceProvider.cs
- CodeMemberField.cs
- ErrorWebPart.cs
- PromptEventArgs.cs
- SQLString.cs
- CookieProtection.cs
- EmptyEnumerator.cs
- xmlglyphRunInfo.cs
- TemplateNodeContextMenu.cs
- HwndTarget.cs
- ResourceManager.cs
- HostProtectionPermission.cs
- ListItemCollection.cs
- DataGridPagerStyle.cs
- PersonalizationAdministration.cs
- JavaScriptObjectDeserializer.cs
- tooltip.cs
- EventLogEntry.cs
- SecurityUtils.cs
- EntityTemplateFactory.cs
- AutomationElement.cs
- InputLangChangeRequestEvent.cs
- GraphicsState.cs
- Matrix.cs
- GenericParameterDataContract.cs
- _Rfc2616CacheValidators.cs
- WebPartMovingEventArgs.cs
- EntryIndex.cs
- ToolStripManager.cs
- ValidationPropertyAttribute.cs
- HandlerBase.cs
- DesignerProperties.cs
- ValidationRule.cs
- XmlSchemaSearchPattern.cs
- ClipboardData.cs
- ECDiffieHellman.cs
- XPathMessageFilterTable.cs
- UserMapPath.cs
- CombinedGeometry.cs
- ManagedFilter.cs
- EasingFunctionBase.cs
- WrapPanel.cs
- DebugHandleTracker.cs
- SQLInt16.cs
- UrlPath.cs
- Column.cs
- ProjectionCamera.cs
- GridViewColumnCollection.cs