Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / DirectionalLight.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BooleanToVisibilityConverter.cs
- TabControlCancelEvent.cs
- OutputScopeManager.cs
- CodeDelegateCreateExpression.cs
- ImageInfo.cs
- Grant.cs
- StyleSheet.cs
- DataServiceSaveChangesEventArgs.cs
- TraceHwndHost.cs
- XamlStream.cs
- TypeDefinition.cs
- Size.cs
- Instrumentation.cs
- LightweightCodeGenerator.cs
- Emitter.cs
- XmlSchemaElement.cs
- OdbcRowUpdatingEvent.cs
- CompositeActivityTypeDescriptorProvider.cs
- COM2ICategorizePropertiesHandler.cs
- ReflectionTypeLoadException.cs
- MimeObjectFactory.cs
- RegexTypeEditor.cs
- CompareValidator.cs
- IntranetCredentialPolicy.cs
- DataBindingHandlerAttribute.cs
- UriScheme.cs
- RoleManagerModule.cs
- MD5.cs
- COAUTHIDENTITY.cs
- HelloOperationCD1AsyncResult.cs
- StylusPointPropertyInfo.cs
- Transform3DCollection.cs
- WebRequestModulesSection.cs
- PathFigure.cs
- ActiveDesignSurfaceEvent.cs
- FilterRepeater.cs
- MenuRendererClassic.cs
- unitconverter.cs
- DbModificationCommandTree.cs
- TableSectionStyle.cs
- PermissionAttributes.cs
- PropertyGeneratedEventArgs.cs
- ListBindableAttribute.cs
- RequestBringIntoViewEventArgs.cs
- TraceProvider.cs
- ContentPlaceHolder.cs
- ColumnBinding.cs
- BindingBase.cs
- PixelShader.cs
- StateMachineSubscriptionManager.cs
- PictureBox.cs
- AtlasWeb.Designer.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- AssemblyBuilder.cs
- BamlReader.cs
- CodeArgumentReferenceExpression.cs
- DataKeyCollection.cs
- ValidationEventArgs.cs
- WorkflowRuntimeBehavior.cs
- EntityDataSourceDataSelection.cs
- Geometry3D.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- DbDataAdapter.cs
- EventHandlerList.cs
- DataGridViewCheckBoxCell.cs
- GroupQuery.cs
- XmlChildEnumerator.cs
- DefaultAuthorizationContext.cs
- UnsafeNativeMethods.cs
- XmlILIndex.cs
- PseudoWebRequest.cs
- FileController.cs
- RequestCachingSection.cs
- CSharpCodeProvider.cs
- RadioButtonPopupAdapter.cs
- HierarchicalDataSourceConverter.cs
- MessageFault.cs
- HttpBrowserCapabilitiesBase.cs
- PageCatalogPartDesigner.cs
- OleDbErrorCollection.cs
- SpecialNameAttribute.cs
- TextTreeFixupNode.cs
- DataRowView.cs
- columnmapfactory.cs
- SqlDataReader.cs
- XsltInput.cs
- ValidationSummary.cs
- RichTextBoxAutomationPeer.cs
- Brush.cs
- oledbmetadatacolumnnames.cs
- StrokeNode.cs
- CommandConverter.cs
- SystemIcons.cs
- CurrentChangingEventManager.cs
- AssemblyAttributesGoHere.cs
- UITypeEditor.cs
- TypeConverterHelper.cs
- CodeTypeReferenceExpression.cs
- SeverityFilter.cs
- ScriptServiceAttribute.cs