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
- _NTAuthentication.cs
- DrawTreeNodeEventArgs.cs
- DragDropHelper.cs
- KeyedPriorityQueue.cs
- WebReferenceCollection.cs
- LogSwitch.cs
- RunInstallerAttribute.cs
- UserControl.cs
- TextView.cs
- DataGridViewHeaderCell.cs
- HttpMethodConstraint.cs
- ShapingWorkspace.cs
- PropertyRef.cs
- RegistryExceptionHelper.cs
- EncryptRequest.cs
- TimeZoneInfo.cs
- Convert.cs
- MapPathBasedVirtualPathProvider.cs
- SingleObjectCollection.cs
- ButtonBase.cs
- xmlglyphRunInfo.cs
- SystemIPv6InterfaceProperties.cs
- LicFileLicenseProvider.cs
- ValidateNames.cs
- ProfileService.cs
- SafeNativeMethodsOther.cs
- AutomationTextAttribute.cs
- GenerateTemporaryTargetAssembly.cs
- Privilege.cs
- SessionStateModule.cs
- InfoCardClaim.cs
- BinaryFormatter.cs
- CompoundFileIOPermission.cs
- AuthenticationManager.cs
- Stackframe.cs
- ListViewItem.cs
- TextMarkerSource.cs
- ServiceModelConfigurationElementCollection.cs
- ConfigXmlElement.cs
- SortDescriptionCollection.cs
- Animatable.cs
- SerializationHelper.cs
- PropertyCollection.cs
- OleDbDataReader.cs
- FormatSettings.cs
- AuthenticateEventArgs.cs
- WsatRegistrationHeader.cs
- SchemaNamespaceManager.cs
- Latin1Encoding.cs
- DebugView.cs
- SecurityContextTokenCache.cs
- ToolStripActionList.cs
- EdmComplexTypeAttribute.cs
- DateRangeEvent.cs
- Thumb.cs
- ClientData.cs
- FamilyCollection.cs
- BindToObject.cs
- Vector3dCollection.cs
- NavigationPropertyEmitter.cs
- EntityCommandCompilationException.cs
- SerialPinChanges.cs
- IntegerCollectionEditor.cs
- SmtpLoginAuthenticationModule.cs
- _HelperAsyncResults.cs
- Wildcard.cs
- UserPreferenceChangingEventArgs.cs
- HostingEnvironment.cs
- PageVisual.cs
- metadatamappinghashervisitor.cs
- _HTTPDateParse.cs
- PropertyIdentifier.cs
- BindToObject.cs
- QueryOperationResponseOfT.cs
- HttpTransportSecurityElement.cs
- DbParameterHelper.cs
- MetadataSource.cs
- IxmlLineInfo.cs
- BookmarkOptionsHelper.cs
- DesignerVerbCollection.cs
- ManipulationVelocities.cs
- WindowVisualStateTracker.cs
- CheckBoxFlatAdapter.cs
- InternalCache.cs
- TabOrder.cs
- ErrorReporting.cs
- XmlNodeComparer.cs
- ImageListUtils.cs
- LoginUtil.cs
- MissingManifestResourceException.cs
- Scanner.cs
- ClusterRegistryConfigurationProvider.cs
- DesignerLabelAdapter.cs
- SecurityPolicySection.cs
- CommunicationException.cs
- Suspend.cs
- XamlWriter.cs
- MachinePropertyVariants.cs
- TextServicesDisplayAttribute.cs
- Color.cs